paypal


paypal sandbox form not working, The connection has timed out error


I am using beiow form to make payment using PayPal.
<?php
$url = "https://www.sandbox.paypal.com/cgi-bin/webscr";
$price=90.00;
//$url = "https://www.paypal.com/cgi-bin/webscr";
?>
<form action="<?=$url?>" method="post" style="padding: 0; margin: 0;">
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="xyz#gmail.com" />
<input type="hidden" name="quantity" value="1" />
<input type="hidden" name="item_name" value="full licence" />
<input type="hidden" name="item_number" value="1" />
<input type="hidden" name="amount" value="<?=$price?>" />
<input type="hidden" name="shipping" value="0" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="notify_url" value="http://www.example.com/ipn.php">
<input type="hidden" name="return" value="http://www.example.com/dev/login/success.php">
<input type="hidden" name="cancel_return" value="http://www.example.com/dev/login/paypal_cancel.php">
<input type="hidden" name="currency_code" value="GBP" />
<input type="hidden" name="rm" value="2" >
<input type="image" border="0" name="paypal" src="images/btn_paypal_nl.gif" onClick=""/>
</form>
All thing is working if i change $url to live account. But if i use sandbox URL, then browser takes too much time and at the end return The connection has timed out error.

Related Links

PayPal Authorization-Code Rest API failedBecause=risk_decline
Retrieve original credit card info given a PayPal PNREF
What can one do with PayPal API keys
paypal subscription button not working expected
PayPal Sandbox not receiving IPN?
Logout Paypal Express account after payment is completed
Paypal API Error 10485 - Prestashop
Paypal cart item issue
Credit Card Payment Notification
is the sandbox broken - 500 error [duplicate]
Opencart 2.0.1.1 - 'Status=INVALID StatusDetail= Cannot match the MD5 Hash. Order might be tampered with.'
Error Connecting To PayPal API
PAYPAL Billing Plans API paypal-subscriptions - Automatic deduction The failure to renew
Error processing paypal payments in production
Why does the PayPal API sandbox environment return different states for create payment?
Payflow Link - Simple Form with Recurring Billing

Categories

HOME
rest
cakephp-3.x
symfony
answer-set-programming
oauth
websphere
bing
hana
ios10
phaser-framework
rebol
algorithmic-trading
eclipse-cdt
oclint
hashicorp-vault
viber
equalizer
spring-cloud-config
cross-platform
r-lavaan
arm-template
atlassian-plugin-sdk
jive
cvs2svn
marathon
dspic
binutils
branch
kong
solidworks
pcre
invoke-command
jackson-dataformat-csv
idl
hawtio
transient
large-data
honeysql
wfp
equivalence
lexical-analysis
wsadmin
viewgroup
tripwire
dojox.mobile
paho
stress-testing
double-buffering
taskmanager
ruby-on-rails-2
infinite-scroll
shinyjs
rsqlite
pspice
push-diffusion
icefaces
c#-interactive
gameanalytics
linkageerror
listadapter
geodjango
mirrorlink
unity5.3
registrykey
programming-paradigms
harp
ytplayerview
twitter-rest-api
gulp-livereload
shift-jis
es2015
sysfs
magento-1.12
obfuscar
mser
adcolony
hidden-field
valence
spdy
android-looper
pic24
kraken.js
delphi-xe3
json-patch
db4o
wic
logentries
fogbugz-api
installshield-2011
shiva3d
fortran77
flash-cs5.5
emacs23
selectmanycheckbox
charts4j
adobe-contribute
.app
clause
camtasia
microsoft.ink
system-codedom-compiler
web-analytics-tools
data-execution-prevention

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App