- 🇨🇭Switzerland znerol
Tried to figure out from the official documentation whether Postfinance actually specifies whether the request needs to be
GET
orPOST
. Reviewed the following documents:- Payment Page section in the Integration Modes chapter. (not specified)
- API docs on the TransactionPaymentPageService::paymentPageUrl() method. That one has an interesting example (click on the PHP tab:
[...] $transaction = $transactionService->create($spaceId, $transactionPayload); $paymentPageUrl = $transactionPaymentPageService->paymentPageUrl($spaceId, $transaction->getId()); header('Location: '. $paymentPageUrl);
- The same piece of code is also in the README.md on the PHP SDK project.
So, yes. IMHO the
POST
step is superflous and should be removed. - last update
almost 2 years ago 7 pass - @znerol opened merge request.
- Status changed to Needs review
almost 2 years ago 10:31am 8 May 2023 - 🇨🇭Switzerland znerol
Switched to MR workflow and updated checkout form test.
- last update
almost 2 years ago 7 pass - last update
almost 2 years ago 7 pass - 🇨🇭Switzerland znerol
Took this out for a manual test drive with the setup documented in the account setup guide → .
The
GET
redirect works well and reduces the time from the review checkout pane to the payment form considerably. - last update
almost 2 years ago 7 pass - Status changed to Fixed
almost 2 years ago 5:03pm 15 May 2023 Automatically closed - issue fixed for 2 weeks with no activity.