When you select your payment gateway and proceed to payment, you are prompt with a page that announce you that you will be redirected to payment provider.
As the transaction already created the url and no more post data is needed, there is no need to still display this page, we should use self::REDIRECT_GET on the buildRedirectForm to smooth the checkout for the customer.
| Comment | File | Size | Author |
|---|
Issue fork commerce_postfinance_checkout-3279865
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
mistrae commentedPatch attached
Comment #4
znerol commentedTried to figure out from the official documentation whether Postfinance actually specifies whether the request needs to be
GETorPOST. Reviewed the following documents:So, yes. IMHO the
POSTstep is superflous and should be removed.Comment #6
znerol commentedSwitched to MR workflow and updated checkout form test.
Comment #7
znerol commentedTook this out for a manual test drive with the setup documented in the account setup guide.
The
GETredirect works well and reduces the time from the review checkout pane to the payment form considerably.Comment #9
znerol commented