Skip to content

Orders v2 for v8 - #34

Merged
extcode merged 3 commits into
mainfrom
orders-v2-for-v8
Nov 22, 2026
Merged

extcode merged 3 commits into
mainfrom
orders-v2-for-v8

Conversation

@d-g-codappix

Copy link
Copy Markdown
Collaborator

No description provided.

d-g-codappix and others added 3 commits November 21, 2026 12:38
The labels in Resources/Private/Language are translated in Crowdin and
installed with the language packs, like in the other cart extensions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The extension used PayPal Payments Standard with IPN, which PayPal
replaced by the Orders v2 API. The implementation is not migrated, the
payment is rewritten from scratch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
After the order, the customer is sent to a payment page with the PayPal
button of the JavaScript SDK v6. The page shows the products, the costs
and the addresses of the order next to the button. The order is created
and captured at PayPal by the server with the total of the stored order,
the browser only passes the id of the PayPal order. Without a payment
page, or if the JavaScript SDK can not be used, the customer is
redirected to PayPal and returns to the shop.

The payment method with the provider PAYPAL_CREDITCARD shows the card
button of the JavaScript SDK instead. The customer enters a debit or
credit card in an overlay of PayPal and needs no PayPal account.

Webhooks of PayPal finish the order if the customer does not return to
the shop and report captures which are completed later. Their signature
is verified by PayPal.

The PayPal order is stored as transaction of the payment of the order,
the tables of cart are not extended. The status of the payment is only
changed if it has not been changed by another request in the meantime,
so the FinishEvent is dispatched once, even if the JavaScript, the return
of the customer and a webhook capture the order at the same time.

The site set extcode/cart-paypal provides the TypoScript and the
settings of the extension. The credentials of the PayPal app are no
settings: they are read from $GLOBALS['TYPO3_CONF_VARS'], set from
environment variables in config/system/additional.php, or per site from
the site configuration.

The PayPal REST API is called with the HTTP client of TYPO3, no SDK is
required.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@extcode
extcode merged commit 146e2d6 into main Nov 22, 2026
19 checks passed
@extcode
extcode deleted the orders-v2-for-v8 branch November 22, 2026 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants