作者 lyh

gx

... ... @@ -89,7 +89,8 @@ class PayStripeApi
$data = [
'amount' => $amount,
'currency' => $currency,
'automatic_payment_methods[enabled]' => 'true',
'payment_method_types' => $this->currency_types[$currency],
// 'automatic_payment_methods[enabled]' => 'true',
];
return $this->sendRequest($url, 'POST', $data);
}
... ...