Stripe Checkout: Updating credit card

  • hide10
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
1 year 2 months ago - 1 year 2 months ago #156672 by hide10
Hello,

I’m using MP Stripe Checkout plugin for monthly subscription.

Some of our customers claim that even after they updated credit card information via ‘My Subscriptions’ > ‘Update Credit Card’ button, on next payment, Stripe tries to charge to old card and fails every time. Therefore, they need to update credit card via ‘Update Credit Card’ button every month.

Q1. Is it supposed to update the card to be used for the future subscription payments?
If so, I don’t know why it does not work…

 Q2. As an alternative method, is it possible to link the ‘Update Credit Card’ button to Stripe’s ‘Customer Portal’? 
stripe.com/docs/customer-management
stripe.com/docs/no-code/customer-portal

If it’s possible to use Customer Portal hosted by Stripe, it will be easier for customers to update their credit card.  

Please let me know your thoughts.
Thank you.


P.S.
Stripe API version: 2019-12-03
MP Stripe Checkout: 3.0.2
Membership Pro: 3.3.0
Joomla: 3.10.11
Last edit: 1 year 2 months ago by hide10.

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #156675 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Stripe Checkout: Updating credit card
Hello

In theory, it should be possible to update credit card. When user update their credit card, could you please check and make sure there is new credit card added to his customer record within Stripe ?

If yes, I think you can change it for the subscription from Stripe Management, too

Tuan

Please Log in or Create an account to join the conversation.

  • hide10
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
1 year 2 months ago - 1 year 2 months ago #156676 by hide10
Replied by hide10 on topic Stripe Checkout: Updating credit card
Hello Tuan,

Thank you for your reply.
The customer record on our Stripe dashboard shows that the new card is already added and set as default.
But somehow old card is kept used.

Anyway, I'd rather like to know how I can navigate customers to 'Customer Portal' hosted by Stripe.

For example, below is an example of Customer Portal link:
billing.stripe.com/p/login/test_4gw6oJchs69w47e7ss

If the logged-in customer's email address is 'jenny@example.com', it is possible to add prefilled_email parameter as follows:
billing.stripe.com/p/login/test_4gw6oJch...=jenny%40example.com


Is it possible to make a link of ‘Update Credit Card’ button in such format?

Thank you for your help.

P.S.
I'm not going to enable subscription cancelation or modification on Customer Portal.
Just enabled credit card modification.
Last edit: 1 year 2 months ago by hide10. Reason: Added P.S.

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #156677 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Stripe Checkout: Updating credit card
I don't know if that kind of link could be implemented. However, we should check and make sure that update credit card works well. It is good that new card is added to his account. Maybe you can find a way to make that card become default for the customers (in Stripe) or default for subscription (also controls in Stripe)

I remember I read something like that before.

Tuan

Please Log in or Create an account to join the conversation.