After pay pal pay out the script sent me back to a 500 error instead of the app
After pay pal pay out the script sent me back to a 500 error instead of the app.
In doing this it I di da refresh and it then brought up a new window in PayPal asking for me to go back to Merchant.
When I did this it took me back to the shopping cart with the same item I just paid for in PAYPAL and it was not registered as a transaction done although I did pay for a product.
Nor is the product in my purchased !
Also you can see that this item has a price of $1 and it is actually showing as $2.
Here is the pic of my orders. The important thing is that I di purchase it and got a receipt of payment from PayPal
Here is the payment receipt for PAYPal
Regarding the 500 error, could you set APP_DEBUG=true in .env file then see the exact error once payment succeed.
@Vaishali-Agarwal ok for some reason everything worked. So I am glad. Also when we return from PayPal is there away for the link to return back <Return to Merchant> to a different page than the shop again section?
Is this a pay pal configuration or Bagisto?
We have resolve the paypal issue on success page last night, cause behind the issue was Class 'Aws\Ses\SesClient' not found which is resolved now.
Yes, you can change return URL for merchant redirection from the bagisto app to some other page.
@Vaishali-Agarwal where i dont see how to change it to a different page
You can change the return URL from here https://github.com/bagisto/bagisto/blob/master/packages/Webkul/Paypal/src/Payment/Standard.php#L50