Paypal - Instant Payment Notifications

Has anyone any experience of getting the Paypal plug in to work?

I’ve set myself up on the Paypal sandbox, I’ve setup my sending and
receiving accounts, i’ve got the Paypal button on my view, I can go and
make payments ok, but I can’t get the Instant Payment Notification part
to work. At the end of the payment process the user is left in a paypal
screen with seemingly no way back to my app and the paypal_ipn action

Cheers,

John

I’ve set myself up on the Paypal sandbox, I’ve setup my sending and
receiving accounts, i’ve got the Paypal button on my view, I can go and
make payments ok, but I can’t get the Instant Payment Notification part
to work. At the end of the payment process the user is left in a paypal
screen with seemingly no way back to my app and the paypal_ipn action

Have you turned on the IPN in your PayPal profile? Also, to have
PayPal redirect you back to your site, you need turn on Auto Return
and set the url you want to return to.

HTH,
Jord

Jordan E. wrote:

I’ve set myself up on the Paypal sandbox, I’ve setup my sending and
receiving accounts, i’ve got the Paypal button on my view, I can go and
make payments ok, but I can’t get the Instant Payment Notification part
to work. At the end of the payment process the user is left in a paypal
screen with seemingly no way back to my app and the paypal_ipn action

Have you turned on the IPN in your PayPal profile? Also, to have
PayPal redirect you back to your site, you need turn on Auto Return
and set the url you want to return to.

HTH,
Jord

Thanks Jord,

I don’t think i’ve done any of those things so I shall try that
tonight…

Do you know where I tell Paypal the URL? Presumably its the url to the
controller task that deals with the IPN?

–John

jh100000 wrote:

Do you know where I tell Paypal the URL? Presumably its the url to the
controller task that deals with the IPN?

There are 3 hidden form variables you can use to set the values in the
form that posts to Paypal… heres an example:



Regards,
Dave
http://www.favoriterun.com

Many thanks Dave and Jord.

I’ve managed to get IPN!

Cheers guys

–John

My Paypal payments are coming though perfectly now. I’m very impressed.

However, one small problem… I seem to get 3 notifications for every
payment.
Is this normal?

–John

However, one small problem… I seem to get 3 notifications for every
payment.
Is this normal?

I’m not sure, but I think you need to acknowledge the IPN post from
PayPal. If you don’t I think PayPal will continue to send IPNs to
you. Maybe the sandbox is limited to 3 tries?

Jordan E. wrote:

However, one small problem… I seem to get 3 notifications for every
payment.
Is this normal?

I’m not sure, but I think you need to acknowledge the IPN post from
PayPal. If you don’t I think PayPal will continue to send IPNs to
you. Maybe the sandbox is limited to 3 tries?

Thanks Jordan,

I’ve got it sorted now I think there was some sort of handshake that
wasn’t working properly - but it now is working spot on! I’m very
impressed!

–John

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs