Difference between revisions of "X-Payments:PayPal REST API"

From X-Payments Help
Jump to: navigation, search
m
m
Line 78: Line 78:
 
# Depending on what you are going to do - test your checkout process or start real-life payment processing - you will need to choose an appropriate PayPal environment: ''Sandbox'' or ''Live''.<br />[[File:pp_rest_api_live_sandbox.jpg|670 px|border]]<br />
 
# Depending on what you are going to do - test your checkout process or start real-life payment processing - you will need to choose an appropriate PayPal environment: ''Sandbox'' or ''Live''.<br />[[File:pp_rest_api_live_sandbox.jpg|670 px|border]]<br />
 
# Choose to create a new app by clicking the '''Create App''' button. <br />[[File:pp_rest_api_create_app.jpg|670 px|border]]<br />Once the app has been created, you will get access to the API credentials and settings for it. <br />[[File:pp_rest_api_credentials_settings.jpg|670 px|border]]<br />You will need the credentials to connect to X-Payments Cloud, so for now, keep the page open.<br />
 
# Choose to create a new app by clicking the '''Create App''' button. <br />[[File:pp_rest_api_create_app.jpg|670 px|border]]<br />Once the app has been created, you will get access to the API credentials and settings for it. <br />[[File:pp_rest_api_credentials_settings.jpg|670 px|border]]<br />You will need the credentials to connect to X-Payments Cloud, so for now, keep the page open.<br />
# ...
+
# In a new browser tab or window, log in to your X-Payments admin panel. Navigate to '''Settings''' > '''Payment configurations'''...............
 
# In a new browser tab or window, log in to your X-Cart store Admin area. Use the admin menu to navigate to the Payment Methods page................
 
# In a new browser tab or window, log in to your X-Cart store Admin area. Use the admin menu to navigate to the Payment Methods page................

Revision as of 03:37, 1 March 2022

Stores connected to X-Payments can be configured to use payment processing via PayPal REST API.

PayPal REST API Features

Feature Supported? Description
Sale Check.svg Supports transactions of 'Sale' type (Authorization and capture actions are completed simultaneously at the time of payment processing)
Auth Check.svg Supports transactions of 'Auth' type (An authorization hold is placed on the amount approved by the buyer to ensure the availability of funds for capture)
Capture Check.svg
Partial and multiple transactions supported
Allows capturing the previously authorized amount (The authorized amount is moved from the buyer's account to the account of the merchant)
Void Check.svg Allows removing an authorization hold from the buyer's account by the merchant
Refund Check.svg
Partial and multiple transactions supported
Allows issuing refunds (The money is returned to the buyer's account)
Get Status Can provide information about the status of a transaction to X-Payments
Get Card Can provide new/updated information about a saved credit card. For example, if a credit card gets re-issued, it is possible to get the renewed expiration date. If any other information changes, like the credit card number or the billing address, it is possible to access this updated credit card information as well.
Accept Allows accepting transactions with a higher likelihood of risk
Decline Allows rejecting transactions with a higher likelihood of risk
Test Can test whether the merchant account details entered in X-Payments are valid
3D-Secure via Cardinal Commerce Built-in (3-D Secure v1 and v2) Supports 3-D Secure payer authentication via Cardinal Commerce. Best for PSD 2 in the European Union.
Tokenization Check.svg Supports tokenization (Allows billing a customer's credit card again - without X-Payments storing cardholder data).
Account Updater Supports Account Updater service

Other payment methods supported by X-Payments Cloud are listed in the section X-Payments: Payment gateways supported by X-Payments 3.1.

Configure PayPal REST API

Prerequisites:

  • You need to have a PayPal Business account. You can sign up for one at paypal.com
  • You need to have an account with X-Payments. X-Payments v1.x-3.x User Manual is available.
  • Your X-Cart store needs to be connected to your X-Payments account. For X-Payments v1.x-3.x, the connection can be made using the X-Payments v1.x-3.x Connector add-on.


To configure PayPal REST API:

  1. Go to https://developer.paypal.com/developer/applications and log in to the Dashboard. This will get you to the "My Apps & Credentials" page.
  2. Depending on what you are going to do - test your checkout process or start real-life payment processing - you will need to choose an appropriate PayPal environment: Sandbox or Live.
    Pp rest api live sandbox.jpg
  3. Choose to create a new app by clicking the Create App button.
    Pp rest api create app.jpg
    Once the app has been created, you will get access to the API credentials and settings for it.
    Pp rest api credentials settings.jpg
    You will need the credentials to connect to X-Payments Cloud, so for now, keep the page open.
  4. In a new browser tab or window, log in to your X-Payments admin panel. Navigate to Settings > Payment configurations...............
  5. In a new browser tab or window, log in to your X-Cart store Admin area. Use the admin menu to navigate to the Payment Methods page................