PayPal PHP SDK - Logged out message on PayPal site - How to fix it?
nerdneedscoffee
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jun-08-2019
05:22 AM
Hi,
i'd started to use the PHP SDK to integrate PayPalPlus into my Shop.
After transmitting all date i'm getting an approval URL and placing it with the following HTML snippet into the website.
If i'm clicking continue, PayPal says that they logged me out and i need to go back to the shop to start again, but why and how can fix it?
Thanks for help!
var ppp = PAYPAL.apps.PPP(<f:format.raw>{</f:format.raw>
"approvalUrl": "{approvalUrl}",
"placeholder": "ppplus",
"mode": "sandbox",
"country": "DE"
<f:format.raw>}</f:format.raw>);
{
"intent":"sale",
"payer":{
"payment_method":"paypal",
"payer_info":{
"email":"....EMAIL....",
"billing_address":{
"line1":"test 123 ",
"city":"test",
"country_code":"DE",
"postal_code":"12345"
},
"shipping_address":{
"recipient_name":" ",
"line1":"test 123 ",
"city":"test",
"country_code":"DE",
"postal_code":"12345"
}
}
},
"transactions":[
{
"item_list":{
"items":[
{
"name":"...PRODUCT_NAME...",
"currency":"EUR",
"quantity":1,
"price":"3.42",
"sku":"1009"
}
]
},
"amount":{
"total":"8.65",
"currency":"EUR",
"details":{
"subtotal":"3.42",
"tax":"0.24",
"shipping":"4.99"
}
},
"invoice_number":"2549"
}
],
"redirect_urls":{
"return_url":"....SUCCESS_URL....",
"cancel_url":"....CANCEL_URL...."
}
}
Labels:
- Labels:
-
REST SDK
0 REPLIES 0

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Error message for obtaining access_token in REST APIs
- "System error. Please try again later" when connecting to paypal sandbox account with my android app in Sandbox Environment
- NOT ENABLED TO VAULT PAYMENT SOURCE in Sandbox Environment
- How to prompt a "thank you" after using donate button on a website in PayPal Payments Standard
- "issue": "NOT_ENABLED_TO_VAULT_PAYMENT_SOURCE" in REST APIs