Jump to content

Updating Stripe payment card from another application


Recommended Posts

Hello,

I hope I've found the correct community for this question. Thank you in advance for any help or information 🙂

We have a bespoke CMS system, and we'd love to allow customers to update their credit card directly in there. We're using the WHMCS Stripe gateway. As a side note, I've done lots of work in the past interfacing directly with Stripe, so I am familiar with their API.

- I see WHMCS has an API call for updating a card, but it seems to require the full card info (UpdatePayMethod). Is there any way I can pass a Stripe card token into this call? I can already determine the Stripe customer ID that WHMCS is using.
- I'm sure this is bad mojo, but I've tried updating the card directly in Stripe, and see that WHMCS then (as expected) still displays the old card to the customer. Can I force an update of that information?

I'd definitely rather do this the right way, so any info here is much appreciated.  Ultimately, if we have to send customers over to WHMCS to update their card information, it's not the end of the world, I'm just trying to make their lives easier!

Thank you

M

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated