Closed efavaro closed 3 years ago
In the develop-branch I’ve updated the Cart::getStripePaymentIntent() method. You can now pass additional $params
.
The following should work (untested)
$paymentIntent = $cart->getStripePaymentIntent([
'statement_descriptor' => 'Custom descriptor',
]);
Further information:
Thank you! I will try it out.
Published in 1.5.0-rc.1
After a purchase I noticed in the support phone number set in Stripe appears in the bank statement descriptor. I tried adding the shortened descriptor in Stripe config, but nothing changes and the number is still there.
While reading this https://stripe.com/docs/statement-descriptors I was wondering that this probably can be achieved by adding it to here https://github.com/wagnerwagner/merx/blob/7a52a1693d26478375a87238a093b9976fe2cb86/src/payment.php#L91 using an option perhaps?