- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I’m trying to set up Paypal Checkout option for my X-Cart reDux/Reboot 4.7.12.8 shopping cart.
How can I confirm if my ‘setup’ on my Paypal Developer Sandbox account is correct for my Business Paypal account.
My initial testing results on a 201 OK status for request path POST /v2/checkout/orders
The Request/Response fields on the transaction follow. I see NO ERRORS on my X-cart Shopping cart test system.
Request
Response
{ "application_context": { "shipping_preference": "SET_PROVIDED_ADDRESS" }, "intent": "CAPTURE", "payer": { "address": { "address_line_1": "*****", "address_line_2": "*****", "admin_area_1": "CA", "admin_area_2": "Salinas", "country_code": "US", "postal_code": "93907" }, "email_address": "*****", "name": { "given_name": "*****", "surname": "*****" } }, "purchase_units": [ { "amount": { "breakdown": { "discount": { "currency_code": "USD", "value": 0 }, "handling": { "currency_code": "USD", "value": 0 }, "item_total": { "currency_code": "USD", "value": 3.99 }, "shipping": { "currency_code": "USD", "value": 12.52 }, "tax_total": { "currency_code": "USD", "value": 0 } }, "currency_code": "USD", "value": "16.51" }, "items": [ { "category": "PHYSICAL_GOODS", "name": "1/4\" x 3-3/4\" HSS Pilot Bit", "quantity": 1, "sku": "HP1594", "quantity": 1, "sku": "HP1594", "unit_amount": { "currency_code": "USD", "value": "3.99" } } ], "shipping": { "address": { "address_line_1": "*****", "address_line_2": "*****", "admin_area_1": "AZ", "admin_area_2": "Tucson", "country_code": "US", "postal_code": "85750" }, "name": { "full_name": "*****" }, "type": "SHIPPING" } } ] }
Response
"quantity": 1,
"sku": "HP1594",
"unit_amount": {
"currency_code": "USD",
"value": "3.99"
}
}
],
"shipping": {
"address": {
"address_line_1": "*****",
"address_line_2": "*****",
"admin_area_1": "AZ",
"admin_area_2": "Tucson",
"country_code": "US",
"postal_code": "85750"
},
"name": {
"full_name": "*****"
},
"type": "SHIPPING"
}
}
]
}
Solved! Go to Solution.
- Labels:
-
Payments REST APIs
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @Amelia999
Thank you for posting to the PayPal community.
To access your REST API credentials, please follow the steps.
- Login to your Developer Dashboard
- Under the "Testing Tools" section, click on "Sandbox Accounts".
- Select the desired account and scroll down.
- Navigate to the "REST API apps" section.
Once you have accessed your REST API credentials, you can double check them to ensure accuracy.
Regarding the HTTP status code 201, it indicates that a new resource has been successfully created using your credentials. This means that when a request is made to a server, the server has processed the request successfully and created a new resource as a result.
To know more about response status codes, I would recommend visiting the following link - https://developer.paypal.com/api/rest/responses/
If you are still experiencing issues, please create an MTS ticket via the following URL - https://www.paypal-support.com/s/?language=en_US . Please ensure that you provide detailed information and error details when submitting the ticket.
Sincerely,
Kavya
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @Amelia999
Thank you for posting to the PayPal community.
To access your REST API credentials, please follow the steps.
- Login to your Developer Dashboard
- Under the "Testing Tools" section, click on "Sandbox Accounts".
- Select the desired account and scroll down.
- Navigate to the "REST API apps" section.
Once you have accessed your REST API credentials, you can double check them to ensure accuracy.
Regarding the HTTP status code 201, it indicates that a new resource has been successfully created using your credentials. This means that when a request is made to a server, the server has processed the request successfully and created a new resource as a result.
To know more about response status codes, I would recommend visiting the following link - https://developer.paypal.com/api/rest/responses/
If you are still experiencing issues, please create an MTS ticket via the following URL - https://www.paypal-support.com/s/?language=en_US . Please ensure that you provide detailed information and error details when submitting the ticket.
Sincerely,
Kavya
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you,
I may end up with additional RELATED questions, but your solution was 'step' one for me now. I'll open up additional questions if needed.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- How to enable on-demand / recurring payments to existing PayPal checkout? in SDKs
- Guest checkout card billing address entered is being replaced in REST APIs
- Intermittent error when refunding: [L_LONGMESSAGE0] = Security header is not valid in NVP/SOAP APIs
- Using Sandbox credentials at checkout loops PayPal to sign up page in Sandbox Environment
- Problems implementing rest API in REST APIs