Jump to content

New gateway module: how to populate the Subscription ID field


gupi

Recommended Posts

Happy New Year!

while working on a new gateway module, I have reached to the point of recurring payments.

Is there a simple way of accessing and populating the "Subscription ID" field from a gateway module ?

 

The logical flow is like this:

 


  • customer initiates the card payment
  • optionaly, customer may opt to initiate the recurrent payments (for instance, a checkbox);
  • if customer chooses opts for recurrent payments, I need to store the first transaction ID as a recurrent payment initiator, in the Subscription ID field

The subscription process should be performed in the callback file (where initial payment is confirmed)

Can you please detail me the sql query needed to link the invoice and subscriptionID field ?

 

Thanks

Link to comment
Share on other sites

Maybe a off-topic question, but its connected with "Subscription ID" - field.

Is it possible to show this field on pdf-invoice ?

And is it possible to populate with some other number`s (id) for another payment program instead for Paypal ?

Like my custom-number that i`ll use only to show to customer on my invoices.

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