Buy Now
Sign in

Paypal Pro no email or thank you

desertdiana , September 21 2016
desertdiana
Hi,
Ok now I am trying to get papal pro set up in my form. Form submits the payment but goes to a blank page with no thank you message.

I get the email from Paypal that a donation has been made. But no admin or donor emails.

What am I doing wrong?

Thank you for looking a this for me..........

Diana

Here are my form and settings screenshots:
chrono-pp-form.jpg

chrono-pp-setup.jpg
Attachments
chrono-pp-form.jpg
chrono-pp-form.jpg
(91.7 KiB)
208 Downloads/Views
chrono-pp-setup.jpg
chrono-pp-setup.jpg
(119.76 KiB)
237 Downloads/Views
GreyHead
Hi desertdiana,

First the blank page - I'm assuming that this is a page with just the template showing. That would be because there is nothing in your form On Submit event to show anything. Try adding a Debugger after the PayPal Pro action to see what data is there.

Second the missing emails - I suspect that this is because they are in the On Found event of your DB Read action and - for some reason - the record isn't being found.

NB: I recommend that you don't 'nest ' actions more than strictly necessary.

If you add an email action at the end of the on ipn event address it to yourself and add the following code in the Template you should see most of the data available:
<?php
echo'<div>$form->data: '.print_r($form->data, true).'</div>';
?>


The Display Message there will do nothing useful as the IPN event is 'behind the scenes' confirming the transaction with PayPal.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
desertdiana
Hi Bob,

I created the form and setting based on the demo-redirect in C5. Updated per your suggestions, tested and the payment went through but still no email or thank you message after complete.

IPN history does show the transaction in the history.

Attached is look at what changes I made to the settings.

Here is the debugger info with me cc details hidden.

The content here is visible only for authorized users.
Attachments
chrono-pp-setup2.jpg
chrono-pp-setup2.jpg
(111.11 KiB)
195 Downloads/Views
GreyHead
Hi DesertDiana,

It looks as though this Debugger info is from the Debugger action at the end of the On Submit message. Are you not getting anything from the Email at the end of the ipn action? That should at least be sent.

You can add an Event Switcher where the Debugger is and check the value of $form->data['paypal_pro']['payment_status'] if that is SUCCESS you can show an appropriate message and email. If it is not SUCCESS then it may just be delayed - you'd need to check the alternatives status messages and show something appropriate.

Bob

ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
desertdiana
Hi Bob,

No email from the end of the ip action............

Never used an event switcher. Can you tell me exactly what to do with it?
GreyHead
Hi desertdiana,

Dinner time here but this FAQ might help get you going.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
desertdiana
Thank you Bob......yes we are across the pond from each other.

when you get a chance, here is the code I put in the switcher:

<?php
if ( $form->data['paypal_pro'] == 'payment_status' ) {
return 'success';
} else {
return 'fail';
}
?>


And attached the results. Still no email or thankyou message sent.

Have a nice dinner!

Diana
Attachments
event-switcher-results.jpg
event-switcher-results.jpg
(25.69 KiB)
164 Downloads/Views
GreyHead
Hi desertdiana,

Please try
<?php
if ( $form->data['paypal_pro']['payment_status'] == 'SUCCESS' ) {
return 'success';
} else {
return 'fail';
}
?>

But not having SUCCESS may mean a delay rather than a failure

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
desertdiana
Hi Bob,

Now it returned this:
&PAYMENTACTION=Sale&EXPDATE=xxxxxx&AMT=2.25&CREDITCARDTYPE=Visa&ACCT=xxxxxxxx3444&CVV2=xxx&FIRSTNAME=Diana&LASTNAME=Nashif&STREET=6825+N+72nd+Pl&CITY=Scottsdale&STATE=AZ&ZIP=85250&COUNTRYCODE=&CURRENCYCODE=&notify_url=notify_url: https%3A%2F%2Fwww.standupgirlfoundation.org%2Findex.php%3Foption%3Dcom_chronoforms%26chronoform%3DSUGdonation_Paypal_pro%26event%3Dipn&comment=comment: Diana+testing+paypal+donation+form
Transaction ID:   
Amount:   
AVS:   
CVV2:
GreyHead
Hi desertdiana,

Where exactly is that returned? It looks like the URL that is sent to PayPal to set up the payment?

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
desertdiana
Payment goes through and this shows up on a blank page of our site which should be a thank you message. No emails sent either.
GreyHead
Hi desertdiana,

What do you have in the Event Switcher events? I'm not at all sure why this is displaying?

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
desertdiana
I put in what you suggested:

    <?php
if ( $form->data['paypal_pro']['payment_status'] == 'SUCCESS' ) {
return 'success';
} else {
return 'fail';
}
?>
GreyHead
Hi desertdiana,

Yes, that's fine but that code just 'fires' one of the Event switcher sub-events. What, if anything, do you have in those?

By all means PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
desertdiana
That's a good idea, I think I have it all messed up!

PM you right now......