PayPal Payment Setup


Check our Reference Materials for more details about MediaStore SDKMediaStore SDK - MediaStore SDK consists of components that will empower you to build and design a seamless checkout process, help visitors become subscribers, and then allow you to manage their subscription to your service in an intuitive and trusted manner..

Purchase using PayPal Express Checkout

With this method, we only support payments where Cleeng is the merchant of record.

  1. During the implementation, define routes, where customers will be redirected in case of success, error, or cancellation.

  2. Update order with the correct paymentMethodId when 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).

  3. To enable initial payment with PayPal, render a button.

Purchase using PayPal - MediaStore SDKPurchase using PayPal - MediaStore SDK

Purchase using PayPal - MediaStore SDK

  1. 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.
PayPal payment flowchartPayPal payment flowchart

PayPal payment flowchart

Up Next

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.

Did this page help you?