On my website user fill out checkout details, add items and click pay now with PayPal. User gets redirected to PayPal. User login with his/her PayPal credentials, confirm and pay and then user is redirected to success page on my site. That's I guess a regular flow. All these things happen but user is not getting charged. When PayPal redirect user to success page. It sends fallback=1&reason=bootstrap_failed I get state as "created". I thought it might be the "intent" I used all three intent "sale", "order" and "authorize". But none of these are charging User. I stored PayPal response in database and here is how it looks. {
"\u0000PayPal\\Common\\PayPalModel\u0000_propMap":{
"id":"PAY-1234567890",
"intent":"authorize",
"state":"created",
"cart":"123456789",
"payer":{
},
"transactions":[
{
}
],
"redirect_urls":{
},
"create_time":"2018-03-22T23:16:36Z",
"update_time":"2018-03-22T23:19:32Z",
"links":[
{
},
{
},
{
}
]
}
} I'm using PayPal Payment SDK. My Site is build with Laravel 5.6. Thank you for allowing me to post here for help.
... View more