Jump to content

saving stripe customer token width api?


Recommended Posts

Hi im programing a new one page cart width ajax functions. I'm processing all stripe payment width this stripe api but i need save in Whmcs cliente table the customer token for next payments. This token is saved id idgateway field, but addclient api command dont have this parameter. Is possible save this width api or i need a work directly width database and sql queries for this?




Link to comment
Share on other sites

Do you have the Stripe module on WHMCS? If so, you don't have to use the Stripe API you can just add cardtype, cardnum, expdate, and cvv to AddClient and the Stripe module will take over and update store the card remotely for you.


But if you want to do it outside of WHMCS part you will need to store it using a database query.

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.

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