正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -89,7 +89,8 @@ class PayStripeApi | @@ -89,7 +89,8 @@ class PayStripeApi | ||
| 89 | $data = [ | 89 | $data = [ |
| 90 | 'amount' => $amount, | 90 | 'amount' => $amount, |
| 91 | 'currency' => $currency, | 91 | 'currency' => $currency, |
| 92 | - 'automatic_payment_methods[enabled]' => 'true', | 92 | + 'payment_method_types' => $this->currency_types[$currency], |
| 93 | +// 'automatic_payment_methods[enabled]' => 'true', | ||
| 93 | ]; | 94 | ]; |
| 94 | return $this->sendRequest($url, 'POST', $data); | 95 | return $this->sendRequest($url, 'POST', $data); |
| 95 | } | 96 | } |
-
请 注册 或 登录 后发表评论