PayPal - Cannot get emails working

kmedri 26 May, 2015
I am using the demo paypal payments form and have set it using my PayPal sandbox account.
I have set the Paypal redirect and ipn to sandbox mode.

I have added the url in my PayPal sandbox account to
http://www.YOUR-DOMAIN.com/index.php?option=com_chronoforms&chronoform=FORM_NAME&event=ipn
changing the generic to my url and form name

I have set up emails to send to my email address and have added the auto generated template to display the form data input by the user.

When testing I get the redirect to paypal with the correct amount and I can pay the amount ok and return to website. However no emails are generated with the form data.

I added an additional email directly to the ipn as described in the How to and still no email.

I purchased the PayPal plugin just in case that was causing an issue.

Any help would be great.
GreyHead 26 May, 2015
Hi kmedri,

Do you have IPN enabled on your PayPal sandbox account?

You don't need to set the IPN URL in the PayPal account, you can set it in the PayPal action.

It might be helpful to test with the PayPal IPN Simulator.

Bob

PS The trial version behaves in the same way as the paid version except that it randomises the amount.
kmedri 26 May, 2015
Hi Bob,

Where do I add the ipn url in the PayPal action?

Yes the ipn is enabled, when I put the url in the simulator in returns a http error
GreyHead 26 May, 2015
Hi kemdri,

In the PayPal ReDirect or PayPal Pro action Extra params box you can add
notify_url=http://www.YOUR-DOMAIN.com/index.php?option=com_chronoforms&chronoform=FORM_NAME&event=ipn
The advantage of doing that is that you can have several different forms linked to the same PayPal account.

Bob
kmedri 29 May, 2015
Thanks Bob,

Still cannot get emails to work, is there a way to debug?

Kevin
kmedri 29 May, 2015
I have had another go. If I put an email action in the On submit section I get an email, so the form is sending emails.

I have added an email action directly at the top of the IPN as the wiki describes for testing and still no email is sent

If I try and activate the IPN in my PayPal sandbox account it will only save with a valid url in the notification URL box

If I enter the notify url in the IPN simulator it returns a message saying "http error"

If I enter the notify url in the browser it returns a 404, is this correct?
kmedri 30 May, 2015
Ok got the ipn sort of working, i had missed the 5 on the end of chronoforms!

So now the ipn listener sends an email when using the simulator.

However when going through a transaction no emails are sent. Sounds to me like a configuration at PayPal end but cannot see where, the ipn is on and I have even added the notify_url just in case....
This topic is locked and no more replies can be posted.