作者 lyh

gx数据

@@ -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 }