Recurring payments and TransactionSearchRec

Sandrone
Contributor
Contributor

Hi, anyone knows which parameters we should add to the HTML button who requires the autorization for a recurring payment?

This because we need to identify uniquely the operation, by using the class TransactionSearchRec

 

Or... is it possible to add to the button the parameter notify_URL?

 

Thanks a lot

Sandro

Login to Me Too
1 REPLY 1

MTS_Jennifer
Moderator
Moderator

Recurring Payments for PayPal Standard is typically a Subscription Button. You can pass the notify_url into the Subscription button if you have setup an Instant Payment Notification listener

<input type="hidden" name="notify_url" value="https://youripnlistener.com"> if you are custom coding your buttons this is the line of code to add your notify_url.

There are specific Variables in the Instant Payment Notification post that will be present that will indicate the payment is a Recurring Payment/Subscription payment.

If you are creating a PayPal Hosted Subscription Button you can add the notify_url to the Advanced Variables section of the Hosted Button:

 

  • After you have completed Step 1, and Step 2 when creating the Subscription Payment Button

2018-04-08 15_55_45-Create a PayPal payment button - PayPal.png

  • Click on Step 3 Customize advanced features (optional)
  • Scroll down to the bottom of the page and click on Advanced Variables:
  • Add the notify_url in the following format:
  • notify_url=https://youripnlistener.com

2018-04-08 15_49_21-Edit PayPal payment button - PayPal.png

Thank you,

Jennifer

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.