Jump to content

Custom payment gateway queries


LifeSteala

Recommended Posts

Hi all

I'm building a payment gateway in WHMCS. The company I'm using provides a generated URL which users are redirected to (hosted on the gateway portal) and makes their payment. The process is:

  1. Invoke invoice payment
  2. Send request to gateway
  3. Gateway responds with the payment link
  4. Redirect user to payment link
  5. Gateway accepts payment then redirects user back and does a callback request if configured.

They support tokenization.

Can I set up this gateway in WHMCS to do this?

I also want users to add their CC via Payment Methods, but it needs to redirect to the Gateway itself. Can this be done too?

Thank you

LS

Link to comment
Share on other sites

Hi @WHMCS Dan thanks for replying.

I just read my question above and it was not clear at all. Oops. 

So I have developed a third party plugin and this works for customers paying then and there. What I'm after is tokenization. The gateway I'm using has full support.

I'm trying to set it up so customers can add/update/delete a credit card, but what this does is add/update/delete the token that is stored.

My actual question is does WHMCS support the ability for a customer to add a credit card, where they are redirected to a hosted page by the gateway which accepts the credit card details then returns back to WHMCS with the token?

Thank you

LS

Link to comment
Share on other sites

Hello @LifeSteala. I developed a payment gateway and just actually got the Attempt Capture to work, with the exception of the Cron Job not working. It depends on which what you are exactly doing, as to store the token. You will need to call a method call CreateRemoteCardPayMethod. Once you do this, you can easily add the card. Deleting it, I'm having to build a delete Card function that not only deletes from the API, but will delete said card from WHMCS. PM me if you need assistance.

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