作者 lyh

gx

... ... @@ -91,6 +91,9 @@ class PayStripeApi
'currency' => $currency,
'payment_method_types' => $this->currency_types[$currency],
];
if($currency == 'usd'){
$data['payment_method'] = 'pm_card_visa';
}
return $this->sendRequest($url, 'POST', $data);
}
... ...