fix(payment): hide classic Waffo Pancake settings (#5085)

This commit is contained in:
Seefs
2026-05-24 16:37:43 +08:00
committed by GitHub
parent 0354c38bef
commit 49bc3a1175
3 changed files with 39 additions and 39 deletions
+3
View File
@@ -103,6 +103,9 @@ func CreateWaffoPancakeCheckoutSession(ctx context.Context, params *WaffoPancake
if strings.TrimSpace(params.BuyerIdentity) == "" {
return nil, fmt.Errorf("missing buyer identity")
}
if strings.TrimSpace(params.OrderMerchantExternalID) == "" {
return nil, fmt.Errorf("missing order merchant external id")
}
client, err := newWaffoPancakeClient()
if err != nil {
return nil, fmt.Errorf("build Waffo Pancake client: %w", err)