Hello everybody, sorry for my english.🤔
It is the first time i use chronoforms, It seems to be a great tool but I encounter a problem with a form. :?
My Aim is to create a simple Form with paiement system (name etc..) to register for a race and BUT I need to be sure that BEFORE the datas are being stored in the database, the paiement has been made.
SO i'm looking for the most SIMPLE :wink: method to use PAYPAL...
I tried to put a button, It Works, but i can't return to my initial form to complete...And i don't know how to get an information and put it in the database to show that the transaction has been made...
I tried to use the API, but its seems to be complicated, nothing worked...
Then I create the form with A PAYPAL code at "On Submit code - after sending email:"
It works BUT:
The registration on the database can be done even if the paiement not succeded...
The pages on my site (ie: form page ) is lost, we have to click "PREVIOUS"
Can someone explain me in details how to make this goal ?
Thanks a lot!
Cedric
It is the first time i use chronoforms, It seems to be a great tool but I encounter a problem with a form. :?
My Aim is to create a simple Form with paiement system (name etc..) to register for a race and BUT I need to be sure that BEFORE the datas are being stored in the database, the paiement has been made.
SO i'm looking for the most SIMPLE :wink: method to use PAYPAL...
I tried to put a button, It Works, but i can't return to my initial form to complete...And i don't know how to get an information and put it in the database to show that the transaction has been made...
I tried to use the API, but its seems to be complicated, nothing worked...
Then I create the form with A PAYPAL code at "On Submit code - after sending email:"
It works BUT:
The registration on the database can be done even if the paiement not succeded...
The pages on my site (ie: form page ) is lost, we have to click "PREVIOUS"
Can someone explain me in details how to make this goal ?
Thanks a lot!
Cedric
Hi Cedric,
There is no 'safe' way of confirming payment before saving anything. As soon as the user leaves your site there is a risk that the data is lost.
My preferred way to do this is to save early (and often) but to add a 'status' entry saying something like 'unpaid'. Then when the payment is confirmed you can update the status to 'paid'.
Alternatively you could save the data to a temporary table, but this takes more work and I don't think it adds anything much.
The PayPal API plugin here only works with the more 'advanced' PayPal accounts. You cna use the ReDirect URL to make PayPal payments - that works well. Use the 'return' and cancel_return' parameters to bring users back after payment (though you can't guarantee that unless you use IPN).
Bob
There is no 'safe' way of confirming payment before saving anything. As soon as the user leaves your site there is a risk that the data is lost.
My preferred way to do this is to save early (and often) but to add a 'status' entry saying something like 'unpaid'. Then when the payment is confirmed you can update the status to 'paid'.
Alternatively you could save the data to a temporary table, but this takes more work and I don't think it adds anything much.
The PayPal API plugin here only works with the more 'advanced' PayPal accounts. You cna use the ReDirect URL to make PayPal payments - that works well. Use the 'return' and cancel_return' parameters to bring users back after payment (though you can't guarantee that unless you use IPN).
Bob
Ok Thanks BOB,
But is there a way to send (for example the UID to paypal) and then, that PAY PAL reply to the URL with the same UID.
I want to be sure that the paiement as been completed but for the user who as paid.
For example, i i create a status "UNPAID" in the database, and 4 personns has this satuts, i want that the changes occurs only for the right personn who as paid...
"The PayPal API plugin here only works with the more 'advanced' PayPal accounts." Do you mean that i could do want i want with that API ? I want to find if it is possible to reach this goal and how !:)
Regards
But is there a way to send (for example the UID to paypal) and then, that PAY PAL reply to the URL with the same UID.
I want to be sure that the paiement as been completed but for the user who as paid.
For example, i i create a status "UNPAID" in the database, and 4 personns has this satuts, i want that the changes occurs only for the right personn who as paid...
"The PayPal API plugin here only works with the more 'advanced' PayPal accounts." Do you mean that i could do want i want with that API ? I want to find if it is possible to reach this goal and how !:)
Regards
Hi Cedric,
I'd probably generate a random ID myself (though you could use the ChronoForms UID too), then add that to the return url like &uid=XXXXX
I don't exactly know what you can do with the PayPal API - Max wrote the plugin for a client. I've never used an account that had the API accessible. You can get the PayPal docs for the API and see what they say.)
Bob
I'd probably generate a random ID myself (though you could use the ChronoForms UID too), then add that to the return url like &uid=XXXXX
I don't exactly know what you can do with the PayPal API - Max wrote the plugin for a client. I've never used an account that had the API accessible. You can get the PayPal docs for the API and see what they say.)
Bob
This topic is locked and no more replies can be posted.
