paypal redirect url

Hi,

Is there a way to have the unique URL which is generated for a redirect to paypal be included in the email notification that is sent to the person? Or alternatively, an option to resend the URL to the person.

I frequently have incomplete payments for conference/event registrations and presently the only solution to allow payment to be completed is for the person to complete the form again to be redirected.

As an aside regarding the payments: if would be great if there could be two emails sent…
1. an email generated immediately upon submitting the form, eg an unpaid invoice,
2. an second email sent after payment has been completed, eg paid invoice.

Many thanks,

There is a lot involved in generating the URL that goes to PayPal and links to a specific entry. besides that complication, the email is actually sent off before the URL is even generated so Unfortunately, this makes adding a PayPal link in the email impossible.

If you are still interested in sending two emails, you can send two separate email notifications with a little bit of modification. You need to set up your form email settings to send both an auto-response and a notification email. The auto-response email(http://formidablepro.com/knowledgebase/send-an-autoresponse-to-the-form-submitter/) will be the email sent immediately. The Notification email (http://formidablepro.com/knowledgebase/emailing-form-responses/) will be sent after payment goes through. In order to delay this email, you need to follow the steps for setting up Instant Payment Notifications and the steps under "Don’t send the regular email notification until after the payment has been successful" found on this page: http://formidablepro.com/knowledgebase/formidable-paypal/

You can vote for the ability to send PayPal payment reminders here: http://formidablepro.com/help-desk/formidable-paypal-send-an-invoice-or-payment-reminder/

I will do the thing you suggest... I've seen this customization description before, but where I get stuck is "add code to a new plugin". I've investigated "blank plugins" to allow me to easily do this.... but I really dont know what to do.

Can I ask that, as you make this suggestion to "add to a new plugin" quote a lot  that you have a tutorial on this? Or (even better) what if formidable developed a "blank" plugin to allow a user to copy the suggested code into a box, and then the plugin included all the necessary surrounding code.... now that would be ace! [Note that I am assuming there is surrounding code......]

Many thanks for your help!

 

Creating a plugin is not Formidable-specific, so there are plenty of tutorials already out there.
http://codex.wordpress.org/Writing_a_Plugin

Hi again,

Thanks for the links and tips... I've done two things. First up I added (to a new plugin) the customization that changes my paid field from no to yes. This worked fine.

I then then added the customisation (to the same plugin php file as the above) that would delay the notification email  until payment is received and tested it out. Unfortunately i didn't get either the auto-response or the notification email. I have updated the form id in the code provided. The IPN was updated as expected. Any tips?

Regards,

What is the exact code you are using for the email portion? Do you get the email when you remove the added code?

Ok... so I tested all sorts of things.... I was using my gmail address on the form........ BUT gmail was placing all of the notifications in spam. (D'oh)

So, it does work as expected.

Glad to hear it was simply gmail being lame...Glad the issue is straightened out.

Topic closed.