From c69465d8107db9db59c4f404fa47206463be65fb Mon Sep 17 00:00:00 2001 From: Evsio0n <1344729087@qq.com> Date: Fri, 3 Sep 2021 23:56:13 +0800 Subject: [PATCH] Fix Typo (#1335) This should be using `wechat_pay` --- paymentintent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paymentintent.go b/paymentintent.go index 6b6f6f790f..fd92ffb60f 100644 --- a/paymentintent.go +++ b/paymentintent.go @@ -317,7 +317,7 @@ type PaymentIntentPaymentMethodOptionsParams struct { Card *PaymentIntentPaymentMethodOptionsCardParams `form:"card"` OXXO *PaymentIntentPaymentMethodOptionsOXXOParams `form:"oxxo"` Sofort *PaymentIntentPaymentMethodOptionsSofortParams `form:"sofort"` - WechatPay *PaymentIntentPaymentMethodOptionsWechatPayParams `form:"sofort"` + WechatPay *PaymentIntentPaymentMethodOptionsWechatPayParams `form:"wechat_pay"` } // PaymentIntentTransferDataParams is the set of parameters allowed for the transfer hash.