Jump to content

Is it possible to use AddPayMethod API after CC has been charged based on token?


bpdons

Recommended Posts

Hi there,

We're in the process of creating a custom Frontend to serve the shopping cart experience and payment screens for all new users using WHMCS APIs to create clients, addPaymentMethods, create orders, capture Payments, and confirm orders.

We're currently using eWAY as our payment gateway and trying to make the payments using the AddPayMethod API which is sadly returning "Unsupported Gateway Type for Storage" error for the  'ewayv4' gateway_module_name.

The information we're passing is: 

(
    [action] => AddPayMethod
    [username] => xxxx
    [password] => xxxx
    [clientid] => 4582
    [description] => Mr Happy Gilmore
    [type] => RemoteCreditCard
    [gateway_module_name] => ewayv4
    [set_as_default] => 1
    [card_number] => 4444333322221111
    [card_expiry] => 0421
    [responsetype] => json
)

We've reached out to eWAY directly about this and they've recommended if the payments is not working through WHMCS APIs then we should utilise their custom Payment widgets for our Frontend and then apply the payment to the invoice using WHMCS AddInvoicePayment API. This is kind of helpful but doesn't give us a clear way forward.

If we were to pursue this route of payment, our client wants to be able to store the credit card token such as the AddPayMethod API would do, so that we can allow customers to renew their invoices without having to enter in their details again. Otherwise we need to find a way to get eWAY to accept this RemoteCreditCard via the AddPayMethod API.

Has anyone had any experience with this or recommendations how we could move forward? 

Thank you,
BP

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.

×
×
  • 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