Hello everybody,
i think i should have read longer the forum before rushing to buy the Paypal API, because i think i actually don't need it for what i want to do (seems the redirect plugin can do it)
I have a form that is working "almost" perfectly, which leads to a Paypal payment page,
only that i would like me and user who fills the form, to receive the email confirmation (with the results of the form) only AFTER the payment has been successfully proceeded.
Is there a way to do so ?
I currently have a multi page form :
- First page, is the actual form which user has to fill in
- second page, is the confirmation page with "go back" and "submit" buttons.
I have found somewhere to start with, using the paypal api plugin, and this tutorial : http://www.chronoengine.com/tutorials/chronoforms-plugins/437-paid-registration-using-paypal-plugin.html.
it seems possible to use php and plugins to test if payment is successful, and if so, process to sending emails, but is there a way to use the API while not using credit cart information fields (i.e letting the user who fills the form decide to log into paypal with his account or fill his credit card information directly on paypal payment page) ? Because i tried to use the plugin, but it seems mandatory to have Credit cart information fields to sumbit to Paypal.
Also, users can upload up to 4 images in the form (to photofield_1, photofield_2, etc...)
i've set the email templates in the mother form, so it displays the pictures that have been sent through the form, with this line:
When i have a single form, it works, but when using multi-page plugin, since the pictures fields are set in the first form, the mother form sends email, and it actually doesn't display (because it tries to show http://mysite.com/uploaded_pictures/{photofield_1} litteraly, like it forgot what {photofield_1} corresponds to.
I think this is part of the problem that has been exposed in another topic, about the multi-page plugin use along with the redirect plugin to Paypal, and not being able to recall the fields in the child forms, so the mother form can submit them all to Paypal or any other redirect page.
The weirdest thing, is that i also use in this very email template other field names, like {user_email}, {user_phone}, etc. All these fields are filled in the first child form, and they are correctly displayed in the emails. Only the pictures are not shown. Any idea why ?
that's a pretty long post, so thanks in advance to whoever answers, even to bring partial information.
i think i should have read longer the forum before rushing to buy the Paypal API, because i think i actually don't need it for what i want to do (seems the redirect plugin can do it)
I have a form that is working "almost" perfectly, which leads to a Paypal payment page,
only that i would like me and user who fills the form, to receive the email confirmation (with the results of the form) only AFTER the payment has been successfully proceeded.
Is there a way to do so ?
I currently have a multi page form :
- First page, is the actual form which user has to fill in
- second page, is the confirmation page with "go back" and "submit" buttons.
I have found somewhere to start with, using the paypal api plugin, and this tutorial : http://www.chronoengine.com/tutorials/chronoforms-plugins/437-paid-registration-using-paypal-plugin.html.
it seems possible to use php and plugins to test if payment is successful, and if so, process to sending emails, but is there a way to use the API while not using credit cart information fields (i.e letting the user who fills the form decide to log into paypal with his account or fill his credit card information directly on paypal payment page) ? Because i tried to use the plugin, but it seems mandatory to have Credit cart information fields to sumbit to Paypal.
Also, users can upload up to 4 images in the form (to photofield_1, photofield_2, etc...)
i've set the email templates in the mother form, so it displays the pictures that have been sent through the form, with this line:
<img src="http://mysite.com/uploaded_pictures/{photofield_1}>
When i have a single form, it works, but when using multi-page plugin, since the pictures fields are set in the first form, the mother form sends email, and it actually doesn't display (because it tries to show http://mysite.com/uploaded_pictures/{photofield_1} litteraly, like it forgot what {photofield_1} corresponds to.
I think this is part of the problem that has been exposed in another topic, about the multi-page plugin use along with the redirect plugin to Paypal, and not being able to recall the fields in the child forms, so the mother form can submit them all to Paypal or any other redirect page.
The weirdest thing, is that i also use in this very email template other field names, like {user_email}, {user_phone}, etc. All these fields are filled in the first child form, and they are correctly displayed in the emails. Only the pictures are not shown. Any idea why ?
that's a pretty long post, so thanks in advance to whoever answers, even to bring partial information.