How To: Set up PayPal Complete Payments

PayPal Complete Payments allows you to quickly set up a payment method in your online store and offer your customers secure and familiar payment options.

  1. Go to Add-ons → Downloaded Add-ons. Search for the PayPal Complete Payments add-on and enable it.

  2. Go to Settings → Payment methods.

  3. Click on the + icon to add a new payment method.

  4. Create a new payment method based on the PayPal Complete Payments processor.

    Creating a new PayPal Complete Payments payment method.
  5. Switch to the Configure tab and specify PayPal settings.

    • Account settings:

      • App Client ID, App Secret—these settings connect your store to your PayPal account. Get these credentials from PayPal.

      • Test/Live mode—set to Live to accept real payments.

        The test mode is intended for developers. It works with the special PayPal sandbox instead of live servers. No real money is involved in sandbox transactions.

      • Currency—if you specify the currency that is not the same as the store’s primary currency, then it will be converted as soon as you go to the PayPal checkout page. The currency is converted at the exchange rate set for it in this store.

      • Send shipping address to PayPal — if you tick this checkbox, CS-Cart will send customer’s shipping address to PayPal. This is useful for fraud prevention and printing shipping labels.

    • Funding sources to show on checkout—choose the payment services you want to be displayed on the PayPal checkout page.

    • Button appearance—choose the shape, color and height of the PayPal button on the checkout page.

  6. Click the Create button.

    A PayPal Checkout Configure tab.

Once an order has been placed using this payment method, you can send its tracking number and carrier information to PayPal when creating a shipment. See Send Shipment Information to PayPal for instructions.

Configure a Webhook

A webhook allows PayPal to notify your store about payment events. CS-Cart uses these notifications to update payment information and order statuses.

  1. Open the payment method in CS-Cart and switch to the Configure tab. Copy the webhook URL displayed below the account settings.
  2. Sign in to the PayPal Developer Dashboard.
  3. Select the environment that matches the payment method’s Test/Live mode: Sandbox for Test, or Live for Live.
  4. Open the REST API application whose Client ID is used by this payment method.
  5. In the application’s webhooks section, add a webhook or edit the existing webhook for this URL.
  6. Paste the URL copied from CS-Cart and subscribe to these events:
    • PAYMENT.CAPTURE.COMPLETED
    • PAYMENT.CAPTURE.PENDING
    • PAYMENT.CAPTURE.DENIED
  7. Save the webhook.

Important

The webhook URL must be publicly accessible over HTTPS so that PayPal can send notifications to your store.

To check the setup, place a test order using the Sandbox application. In PayPal’s Webhooks Events dashboard, select the application and check the delivery status of the corresponding event. Also check the payment information and status of the order in CS-Cart.

Configure the webhook separately for the Live application before accepting live payments.