forked from LiveCarta/PayPal-PHP-SDK
Updates to API Urls
- api.sandbox.paypal.com was changed to api-s.sandbox.paypal.com - api.paypal.com was changed to api-s.paypal.com
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
"funding_instruments": [
|
||||
{
|
||||
"credit_card": {
|
||||
"number": "4417119669820331",
|
||||
"number": "4160285494148633",
|
||||
"type": "visa",
|
||||
"expire_month": 11,
|
||||
"expire_year": 2018,
|
||||
@@ -115,17 +115,17 @@
|
||||
"parent_payment": "PAY-17S8410768582940NKEE66EQ",
|
||||
"links": [
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/sale/4RR959492F879224U",
|
||||
"href": "https://api-s.paypal.com/v1/payments/sale/4RR959492F879224U",
|
||||
"rel": "self",
|
||||
"method": "GET"
|
||||
},
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/sale/4RR959492F879224U/refund",
|
||||
"href": "https://api-s.paypal.com/v1/payments/sale/4RR959492F879224U/refund",
|
||||
"rel": "refund",
|
||||
"method": "POST"
|
||||
},
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ",
|
||||
"href": "https://api-s.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ",
|
||||
"rel": "parent_payment",
|
||||
"method": "GET"
|
||||
}
|
||||
@@ -137,7 +137,7 @@
|
||||
],
|
||||
"links": [
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ",
|
||||
"href": "https://api-s.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ",
|
||||
"rel": "self",
|
||||
"method": "GET"
|
||||
}
|
||||
|
||||
@@ -144,17 +144,17 @@
|
||||
"parent_payment": "PAY-17S8410768582940NKEE66EQ",
|
||||
"links": [
|
||||
{
|
||||
"href": "https: //api.paypal.com/v1/payments/sale/4RR959492F879224U",
|
||||
"href": "https: //api-s.paypal.com/v1/payments/sale/4RR959492F879224U",
|
||||
"rel": "self",
|
||||
"method": "GET"
|
||||
},
|
||||
{
|
||||
"href": "https: //api.paypal.com/v1/payments/sale/4RR959492F879224U/refund",
|
||||
"href": "https: //api-s.paypal.com/v1/payments/sale/4RR959492F879224U/refund",
|
||||
"rel": "refund",
|
||||
"method": "POST"
|
||||
},
|
||||
{
|
||||
"href": "https: //api.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ",
|
||||
"href": "https: //api-s.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ",
|
||||
"rel": "parent_payment",
|
||||
"method": "GET"
|
||||
}
|
||||
@@ -166,7 +166,7 @@
|
||||
],
|
||||
"links": [
|
||||
{
|
||||
"href": "https: //api.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ",
|
||||
"href": "https: //api-s.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ",
|
||||
"rel": "self",
|
||||
"method": "GET"
|
||||
}
|
||||
|
||||
@@ -65,17 +65,17 @@
|
||||
"parent_payment": "PAY-34629814WL663112AKEE3AWQ",
|
||||
"links": [
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/sale/1KE4800207592173L",
|
||||
"href": "https://api-s.paypal.com/v1/payments/sale/1KE4800207592173L",
|
||||
"rel": "self",
|
||||
"method": "GET"
|
||||
},
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/sale/1KE4800207592173L/refund",
|
||||
"href": "https://api-s.paypal.com/v1/payments/sale/1KE4800207592173L/refund",
|
||||
"rel": "refund",
|
||||
"method": "POST"
|
||||
},
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/payment/PAY-34629814WL663112AKEE3AWQ",
|
||||
"href": "https://api-s.paypal.com/v1/payments/payment/PAY-34629814WL663112AKEE3AWQ",
|
||||
"rel": "parent_payment",
|
||||
"method": "GET"
|
||||
}
|
||||
@@ -87,7 +87,7 @@
|
||||
],
|
||||
"links": [
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/payment/PAY-34629814WL663112AKEE3AWQ",
|
||||
"href": "https://api-s.paypal.com/v1/payments/payment/PAY-34629814WL663112AKEE3AWQ",
|
||||
"rel": "self",
|
||||
"method": "GET"
|
||||
}
|
||||
@@ -95,4 +95,4 @@
|
||||
},
|
||||
"status": "200 OK"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,17 +76,17 @@
|
||||
"parent_payment": "PAY-17S8410768582940NKEE66EQ",
|
||||
"links": [
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/sale/4RR959492F879224U",
|
||||
"href": "https://api-s.paypal.com/v1/payments/sale/4RR959492F879224U",
|
||||
"rel": "self",
|
||||
"method": "GET"
|
||||
},
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/sale/4RR959492F879224U/refund",
|
||||
"href": "https://api-s.paypal.com/v1/payments/sale/4RR959492F879224U/refund",
|
||||
"rel": "refund",
|
||||
"method": "POST"
|
||||
},
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ",
|
||||
"href": "https://api-s.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ",
|
||||
"rel": "parent_payment",
|
||||
"method": "GET"
|
||||
}
|
||||
@@ -98,7 +98,7 @@
|
||||
],
|
||||
"links": [
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ",
|
||||
"href": "https://api-s.paypal.com/v1/payments/payment/PAY-17S8410768582940NKEE66EQ",
|
||||
"rel": "self",
|
||||
"method": "GET"
|
||||
}
|
||||
|
||||
@@ -62,12 +62,12 @@
|
||||
"parent_payment": "PAY-5YK922393D847794YKER7MUI",
|
||||
"links": [
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/sale/36C38912MN9658832",
|
||||
"href": "https://api-s.paypal.com/v1/payments/sale/36C38912MN9658832",
|
||||
"rel": "self",
|
||||
"method": "GET"
|
||||
},
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/sale/36C38912MN9658832/refund",
|
||||
"href": "https://api-s.paypal.com/v1/payments/sale/36C38912MN9658832/refund",
|
||||
"rel": "refund",
|
||||
"method": "POST"
|
||||
},
|
||||
@@ -77,7 +77,7 @@
|
||||
"method": "GET"
|
||||
},
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/payment/PAY-5YK922393D847794YKER7MUI",
|
||||
"href": "https://api-s.paypal.com/v1/payments/payment/PAY-5YK922393D847794YKER7MUI",
|
||||
"rel": "parent_payment",
|
||||
"method": "GET"
|
||||
}
|
||||
@@ -89,7 +89,7 @@
|
||||
],
|
||||
"links": [
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/payment/PAY-5YK922393D847794YKER7MUI",
|
||||
"href": "https://api-s.paypal.com/v1/payments/payment/PAY-5YK922393D847794YKER7MUI",
|
||||
"rel": "self",
|
||||
"method": "GET"
|
||||
}
|
||||
@@ -97,4 +97,4 @@
|
||||
},
|
||||
"status": "200 OK"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,17 +39,17 @@
|
||||
"parent_payment": "PAY-17S8410768582940NKEE66EQ",
|
||||
"links": [
|
||||
{
|
||||
"href": "https://api.sandbox.paypal.com/v1/payments/sale/5SA006225W236580K",
|
||||
"href": "https://api-s.sandbox.paypal.com/v1/payments/sale/5SA006225W236580K",
|
||||
"rel": "self",
|
||||
"method": "GET"
|
||||
},
|
||||
{
|
||||
"href": "https://api.sandbox.paypal.com/v1/payments/sale/5SA006225W236580K/refund",
|
||||
"href": "https://api-s.sandbox.paypal.com/v1/payments/sale/5SA006225W236580K/refund",
|
||||
"rel": "refund",
|
||||
"method": "POST"
|
||||
},
|
||||
{
|
||||
"href": "https://api.sandbox.paypal.com/v1/payments/payment/PAY-48W25034R6080713AKRH64KY",
|
||||
"href": "https://api-s.sandbox.paypal.com/v1/payments/payment/PAY-48W25034R6080713AKRH64KY",
|
||||
"rel": "parent_payment",
|
||||
"method": "GET"
|
||||
}
|
||||
|
||||
@@ -41,17 +41,17 @@
|
||||
"parent_payment": "PAY-17S8410768582940NKEE66EQ",
|
||||
"links": [
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/refund/4CF18861HF410323U",
|
||||
"href": "https://api-s.paypal.com/v1/payments/refund/4CF18861HF410323U",
|
||||
"rel": "self",
|
||||
"method": "GET"
|
||||
},
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/payment/PAY-46E69296BH2194803KEE662Y",
|
||||
"href": "https://api-s.paypal.com/v1/payments/payment/PAY-46E69296BH2194803KEE662Y",
|
||||
"rel": "parent_payment",
|
||||
"method": "GET"
|
||||
},
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/sale/2MU78835H4515710F",
|
||||
"href": "https://api-s.paypal.com/v1/payments/sale/2MU78835H4515710F",
|
||||
"rel": "sale",
|
||||
"method": "GET"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user