Plugin Author
Reüel
(@pronamic_reuel)
There’s no ‘silly question’ 🙂
If there’s only one product on the form, you can put the ‘Thank you for buying…’ text on the regular success page that you’ve chosen at Form » iDEAL » Form » Success. Unfortunately it’s not yet possible to use the entry data on the confirmation page.
Does this answer your question or am I missing something?
Well, yes this answers the question (thank for the fast reply!) but maybe it’s possible then to find out what amount they paid?
Let me tell you a little bit more about the project:
People can register for free on this particular website but to upgrade their account they need to pay. They can choose between two packages, so once they have paid, I need to know which product they chose so I can change their role accordingly. Can I intercept the payment feedback or do I have to find this information in the form they just submitted?
Plugin Author
Reüel
(@pronamic_reuel)
Are you using the Gravity Forms User Registration Add-On? If so, you can enable ‘Registration Condition’ (see http://gravitywiz.com/wp-content/uploads/2014/10/user-registration-feed.png).
If not, you can use the gform_ideal_fulfillment action in your custom code (see https://github.com/wp-pay-extensions/gravityforms/blob/169ebb867ed51a63ec0753e4940e5e8bc1b57068/src/Extension.php#L304). This action is fired by Pronamic iDEAL after the payment status has changed to ‘Success’.
Yes I use the User Registration Add-On and I found the ‘Update user role’-dropdown but I’m not sure how to use it in this case because the user role should always change either from user_free to user_basic or user_free to user_extended. How would I do this with this dropdown?
Plugin Author
Reüel
(@pronamic_reuel)
Ok, please forget what I just said about the User Registration Add-On and gform_ideal_fulfillment action 🙂 The ‘Update role’ dropdown is easier to use.
I assume you’re also using a dropdown to choose the package? Set the values of the package items (so not the labels that are shown on the form, but the values – click on ‘Show values’ if they are currently not displayed when editing the packages dropdown; the values won’t be shown on the form, but are used by Gravity Forms and Pronamic iDEAL to assign the correct role to users). For the Basic package, set the value to ‘user_basic’ and for the Extended user to ‘user_extended’. After payment the user role will be updated according to the chosen package.
Excellent, perfect!! This works. Thank you so much Reüel! On my way to buy a license.
Plugin Author
Reüel
(@pronamic_reuel)
Great, thank you for supporting Pronamic iDEAL development and maintenance! We really appreciate that.