1
Answers
Use payment method option in off site payment method
Hello all,
I try to use an option from the form I defined in : CALLBACK_commerce_payment_method_submit_form
But with an off site payment method.
Actually I can see that i'm able to read the submitted values in:
CALLBACK_commerce_payment_method_submit_form_validate
CALLBACK_commerce_payment_method_submit_form_submit
But I have no idea on how to get it in :
CALLBACK_commerce_payment_method_redirect_form
So I can craft the $form['#action'] depending on the user choice.
Any ideas ?
Thanks
Comments
thanks @gaetanp for your answer, was very useful.