Jump to content

Recurring CC Payments (custom gateway)


marcusg

Recommended Posts

Hello,

 

I downloaded the module kit for creating your own custom gateway, and I see it has functions "activate", "link", "capture" which I assume are all used when a new sign-up does their initial payment, but what about recurring payments, how do you handle that with a custom gateway?

 

I intend to use the authorize.net CIM service (allowing authorize.net to hold the sensitive card data) so I'll need to pull that first then submit the payment back to authorize.net for processing. But I just don't see how that is possible.

 

Any clarification would be most helpful.

 

Thank you in advance!

Link to comment
Share on other sites

  • WHMCS CEO

Hi,

 

The capture function is used for the first and all recurring payment attempts. You can tell if it's a first payment request or recurring attempt by checking if the CVV variable is present - if it is set, it's the first payment, if it's not, it's a recurring attempt.

 

Matt

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