Request Object
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
{
"intent": "order",
"payer": {
"payment_method": "paypal"
},
"redirect_urls": {
"return_url": "https://conextion.network/library/PayPal/vendor/paypal/rest-api-sdk-php/sample/payments/OrderDoVoid.php?success=true",
"cancel_url": "https://conextion.network/library/PayPal/vendor/paypal/rest-api-sdk-php/sample/payments/OrderDoVoid.php?success=false"
},
"transactions": [
{
"amount": {
"currency": "USD",
"total": "20",
"details": {
"shipping": "1.20",
"tax": "1.30",
"subtotal": "17.50"
}
},
"item_list": {
"items": [
{
"name": "Ground Coffee 40 oz",
"currency": "USD",
"quantity": 1,
"price": "7.50"
},
{
"name": "Granola bars",
"currency": "USD",
"quantity": 5,
"price": "2"
}
]
},
"description": "Payment description",
"invoice_number": "6740316a6d6f7"
}
]
}
Response Object
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
{
"intent": "order",
"payer": {
"payment_method": "paypal"
},
"redirect_urls": {
"return_url": "https://conextion.network/library/PayPal/vendor/paypal/rest-api-sdk-php/sample/payments/OrderDoVoid.php?success=true",
"cancel_url": "https://conextion.network/library/PayPal/vendor/paypal/rest-api-sdk-php/sample/payments/OrderDoVoid.php?success=false"
},
"transactions": [
{
"amount": {
"total": "20.00",
"currency": "USD",
"details": {
"subtotal": "17.50",
"tax": "1.30",
"shipping": "1.20"
}
},
"description": "Payment description",
"invoice_number": "6740316a6d6f7",
"item_list": {
"items": [
{
"name": "Ground Coffee 40 oz",
"price": "7.50",
"currency": "USD",
"quantity": 1
},
{
"name": "Granola bars",
"price": "2.00",
"currency": "USD",
"quantity": 5
}
]
},
"related_resources": []
}
],
"id": "PAYID-M5ADC2Q8ED03123MS333513R",
"state": "created",
"create_time": "2024-11-22T07:23:22Z",
"links": [
{
"href": "https://api.sandbox.paypal.com/v1/payments/payment/PAYID-M5ADC2Q8ED03123MS333513R",
"rel": "self",
"method": "GET"
},
{
"href": "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-1EN78908CW309692J",
"rel": "approval_url",
"method": "REDIRECT"
},
{
"href": "https://api.sandbox.paypal.com/v1/payments/payment/PAYID-M5ADC2Q8ED03123MS333513R/execute",
"rel": "execute",
"method": "POST"
}
]
}