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.
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.
Updated about a month ago