正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -85,7 +85,7 @@ class PayStripeApi | @@ -85,7 +85,7 @@ class PayStripeApi | ||
| 85 | $data = [ | 85 | $data = [ |
| 86 | 'amount' => $amount, | 86 | 'amount' => $amount, |
| 87 | 'currency' => $currency, | 87 | 'currency' => $currency, |
| 88 | - 'payment_method_types[]' => ['alipay', 'wechat_pay'], | 88 | + 'payment_method_types' => $this->currency_types[$currency], |
| 89 | ]; | 89 | ]; |
| 90 | return $this->sendRequest($url, 'POST', $data); | 90 | return $this->sendRequest($url, 'POST', $data); |
| 91 | } | 91 | } |
-
请 注册 或 登录 后发表评论