From 267ff84f340bd3b8ec692728c31b14bc961164a6 Mon Sep 17 00:00:00 2001 From: Evsio0n <1344729087@qq.com> Date: Thu, 2 Sep 2021 15:24:03 +0800 Subject: [PATCH] Fix Typo 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.