PayPal Adapter
Overview
The PayPal adapter integrates PayPal with Norce Checkout. Changes made in Norce Checkout are synced with PayPal and vice versa. To use this adapter effectively, you need to be familiar with PayPal Developer Docs.
Configuration
Start by adding a configuration for the PayPal adapter in Norce Checkout Admin.
Create Payment
To initiate a PayPal session, create a PayPal payment for an existing Norce order.
This returns a JSON response containing the paymentId, the PayPal SDK URL, and a sdkSettings object used to initialize the PayPal Payment
httpresponse:
POST /api/checkout/v1/{order_id}/payments
{
"paymentId": "pVjGamNQMiEtecSfkABthgijIJK",
"sdkUrl": "https://api-m.sandbox.paypal.com",
"sdkSettings": {
"clientId": "AdfIh3vhZgRSn0CrYDXnbDOCwTUPnWZ_P-yjXqWWC_Istflt9JXQqZzYy8s0Nml5HW42tTyO1PDrce-y",
"currency": "SEK",
"locale": "sv_SE",
"buyerCountry": "SE",
"disableFunding": null,
"enableFunding": null,
"commit": false,
"vault": false,
"integrationDate": "2025-04-01",
"intent": "authorize"
}
}