With this method, we only support payments where Cleeng is the merchant of record.
During the implementation, define routes, where customers will be redirected in case of success, error, or cancellation.
Update order with the correct
paymentMethodIdwhen a customer chooses PayPal (your PayPal payment method Id).
This is an important step because using a wrong payment method Id will cause problems with recurring payments (they won't be processed).
To enable initial payment with PayPal, render a button.
- On click it should initialize a PayPal transaction by calling
/connectors/paypal/v1/tokens endpoint. The method will return the URL where the customer must be redirected. The whole payment is processed on PayPal’s side and after it, the customer is redirected to the defined routes.
Congratulations! Now, you're ready to accept payments with PayPal Express.
If you're interested in more options, consider the following:
You can continue to Adyen Payment Setup if you want to offer payments with Adyen, too.
Go to Payment-free Setup if you would like to offer free content.
If you're happy with the payment setup but wish to make the user experience for your customers even better, you can go on and implement "My Account" feature, by following My Account-Web use case.
Updated 9 months ago