thephpleague/omnipay

Using PaymentIntents card is not updating.

Mayar-Airalo opened this issue · 0 comments

I am using PaymentIntents method to update the card, but it always through error card number is required.
I am using node.js for same api it working perfectly .

This is the method i am using
/** * @inheritdoc * * @return \Omnipay\Stripe\Message\PaymentIntents\UpdatePaymentMethodRequest */ public function updateCard(array $parameters = array()) { return $this->createRequest('\Omnipay\Stripe\Message\PaymentIntents\UpdatePaymentMethodRequest', $parameters); }

Can anyone help me out ?