PDA

View Full Version : PayPal Paid Subscriptions + IPN


Xtrm2Matt
07-11-2007, 03:58 PM
Hi there,

For years, I've had my PayPal IPN set up to my forums, but recently had to change it for another project (non-forum related). So obviously, subscriptions are no longer handled automatically.

Is there a way I can modify what variables are sent to PayPal when a user buys a Paid Subscription, as I want to add notify_url to it rather than having my IPN set up to it.

Hope thats clear,

Cheers.

sinisterpain
07-11-2007, 09:28 PM
Is there a way I can modify what variables are sent to PayPal when a user buys a Paid Subscription, as I want to add notify_url to it rather than having my IPN set up to it.
I am not really following you, the notify url points to a script which paypal reads when a donation happens and posts the information back to confirm the transaction is correct once verifyied the transaction info is posted to variables. You need IPN or API to do this. Else you could just go to your Paypal account and get the info on the transaction.
You can go to paypal and get a php script which will help you get the variables posted.

Important Note:
The variables for one time donations are different than Subscriptions.

Xtrm2Matt
07-11-2007, 11:37 PM
Sorry, what I mean is you can use the form variable "notify_url" to over-ride the IPN URL in your PayPal account, so you can use IPN for more than one website.

Obviously I forgot these were subscriptions, but I think it should still work fine. I just need to know where the form variables for paid subscriptions are kept or how it could be done :)

sinisterpain
07-13-2007, 01:59 AM
Sorry, what I mean is you can use the form variable "notify_url" to over-ride the IPN URL in your PayPal account, so you can use IPN for more than one website.

Obviously I forgot these were subscriptions, but I think it should still work fine. I just need to know where the form variables for paid subscriptions are kept or how it could be done :)

If your looking for form variables just create a subscription button at paypal and enter the items you wish it will generate the form variables you want.

Xtrm2Matt
07-15-2007, 08:47 AM
Sorry, guess I'm confusing you :p

Anyway, I checked the forum and it already has notify_url set! I never knew that.

<input type="hidden" name="notify_url" value="x/payment_gateway.php?method=paypal" />

Thanks anyway :)