Forums

How to integrate with Payal ?

g4gxl 06 Feb, 2007
I want a user to fill in a form, on submission they are taken to Paypal. When they successfully complete the payment then the form details are emailed.

The form is OK and also the Paypal payment.
I can use IPN to come back to some page on successful payment.

BUT ! How do I postpone the emailing of the form details until after the successful payment ?

Thanks,
Steve
Max_admin 07 Feb, 2007
Hi Steve,

A solution for this may require some AJAX being implemented, will try to have it done ASAP and post back, I wish you are not in a big rush, regarding postponing the email sending this may be impossible without storing the values some where until the payment is done, we may need some database support + enough code to do this.;)

Sincerely,

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
g4gxl 07 Feb, 2007
Thanks Max

The approach I was already taking was to store all of the form fields in the database with a UID to identify them. Then the UID and amount are passed to Paypal. After successful payment the UID is returned via Paypal's IPN to a page where the UID is used to query the database and the email is sent.

I suppose it is quite straight forward but I was hoping to do it with less work ;-)

Thanks for your help. I'm interested to see how you will be using AJAX. I am still only a beginner with that language.

Steve
jowens 20 Mar, 2008
Steve,

Would you be willing to share the code you used to send and receive/process the UID? I'd love to get a head start on figuring out how to do this, and I think a lot of other board members could benefit from it as well.

Thanks,

Jeff
Max_admin 22 Mar, 2008
Hi Jeff,

Some user presented a good approach to this and we had this post sticky at one of the forums here, I think the "HOW TO" Or the suggestions forums, please give it a check!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.