Jump to content

Some direction with remote input gateway


Recommended Posts

Hey all, 
I am driving myself crazy trying to work out the correct sequence of events here and am not getting very clear from the documentation.

I am trying to create a remote input gateway. 
My credit card processor has a javascript element we can insert and just provide the client id and an intent ID to. This will then provide the CC details field, do the processing and return a result so we can then store the token.

I am a bit lost on how this should work.

 

Should it work this way?

1. Gateway file in the _remoteinput section, this checks for an existing client and creates or gets the client id from the API

2. This has the php page which has the element in it and posts the intent and client id to it with a callback to a callback file.

3. on success, the callback has the instructions to save the card details and token into the WHMCS customer?

 

Or should the create/get client ID phase be part of the php page that has the javascript element?

 

 

No doco seems to relate to requiring info/client id's etc from the cc processor so I am just lost at which step this should be occurring at to send the required details through to the element for the credit card.

 

Thank you

 

 

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