Sandbox Paypal not woking on live server!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My sandbox paypal is working fine in my localhost. But after i transfer it to live server (Online website) whenever i click the paypal payment button. It give's me an error messages like shopping cart is empty. I already changed the IP's of this.
<input type="hidden" name="return" value="http://127.0.0.1/GabszyStore2/payment_success.php"/>
<input type="hidden" name="notify_url" value="http://127.0.0.1/GabszyStore2/payment_success.php">
<input type="hidden" name="cancel_return" value="http:///127.0.0.1/GabszyStore2/index.php"/>
and my return url
to my live server IP.
please help
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" id="paypalForm">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="my email">
<input type="hidden" name="upload" value="1">';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you modified the URL when the transaction request is being sent after adding the code to your live site ?
Sandbox : <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" id="paypalForm">
Production : <form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="paypalForm">
Was my post helpful? If so, please give me a kudos!
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Using Paypal Smart Buttons for checkout sometimes fails with Debit/ Credit Cards Form in Braintree Client-side Integration (JS, iOS, Android SDKs)
- Cannot verify sandbox account with email verification in Sandbox Environment
- When clicking on a payment button generates error: Unexpected token ... in PayPal Payments Standard
- webhook not send update notification in REST APIs
- PayPal Standard Checkout Integration in PHP (500 error) in Sandbox Environment