作者 lyh

gx

@@ -91,6 +91,9 @@ class PayStripeApi @@ -91,6 +91,9 @@ class PayStripeApi
91 'currency' => $currency, 91 'currency' => $currency,
92 'payment_method_types' => $this->currency_types[$currency], 92 'payment_method_types' => $this->currency_types[$currency],
93 ]; 93 ];
  94 + if($currency == 'usd'){
  95 + $data['payment_method'] = 'pm_card_visa';
  96 + }
94 return $this->sendRequest($url, 'POST', $data); 97 return $this->sendRequest($url, 'POST', $data);
95 } 98 }
96 99