You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An option would be that the Adyen library sends this post request and redirects the page on calling a 'HPP payment' method. This would make it easy, except for the fact that redirects are handled in the Python server's request handler, which Adyen Api users need to program themselves.
Still trying to find a clean solution for this, if not found, the POST with form data is the best option available for websites/apps.
Recurring:
What to do with the recurring form fields if not used?
The text was updated successfully, but these errors were encountered:
Sending the HPP form data through the Adyen Api is impossible, because the session for the requesting server can't be carried over to a user's browser or app. The form data must be submitted from the client where the HPP payment will be completed.
I will simply create a function to validate the HPP fields, create the merchantSig using 'generate_hpp_sig' from util.py. This returns the url and HPP form data fields including the merchant signature.
Same function can be used for recurring payments with HPP, for this I extend the validation of fields based on if the recurring properties are existing and set.
Right now, following the documentation a developer uses a 'hidden' html form element with a POST action.
An option would be that the Adyen library sends this post request and redirects the page on calling a 'HPP payment' method. This would make it easy, except for the fact that redirects are handled in the Python server's request handler, which Adyen Api users need to program themselves.
Still trying to find a clean solution for this, if not found, the POST with form data is the best option available for websites/apps.
Recurring:
What to do with the recurring form fields if not used?
The text was updated successfully, but these errors were encountered: