PaymentProvider interface from the Payments Module using the PayPal REST Orders API. It verifies configured Webhook events through PayPal’s verification API.
Source: modules/paypal · npm: @86d-store/paypal
Installation
Configuration
Add the Module toconfig.json, then set the PAYPAL_* environment variables. Do not put the client secret in source or config.json. See Environment variables.
Webhook setup
Set the webhook URL in the PayPal developer dashboard to:PAYMENT.CAPTURE.COMPLETED and PAYMENT.CAPTURE.DENIED at minimum.