paypal


Pay on paypal without the need of creating an account


I'm using paypal's sandbox to test payments to a website i'm developing and I want the user to have the ability to pay directly with a credit card without the need of creating/using a paypal account.
What's happening is that the user only have this option when the United States option in country field is selected, otherwise the user has to pay with a paypal account.
When selected option is United States
When selected option is Portugal.
The account I'm using is from Portugal
I have the "PayPal Account Optional" feature on at my sandbox's account settings
The submit form is Buy Now type (aka _xclick)
Any idea why paypal is having this behavior?
I'm submiting this form:
<form name="paypalform" id="paypalform" action="#(paypalUrl)" method="post" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="amount" value="99">
<input type="hidden" name="item_name" value="#(itemName)">
<input type="hidden" name="quantity" value="1">
<input type="hidden" name="custom" value="#(Model.OrderId)"> <!--Transaction variable-->
<input type="hidden" name="business" value="#(paypalId)">
<input type="hidden" name="no_shipping" value="2">
</form>
The "#(...)" are just variables.
Thanks in advance.
According to this thread (from www.TipsAndTricks-HQ.com), PayPal issued legal agreements a few years ago for certain countries which forbid guest checkout. Citizens in some countries can still do guest checkout, but, due to legal requirements, citizens in certain countries may be required to create a PayPal account before they can checkout.
I would venture to guess that this is due to the fact that PayPal is registered as a U.S. company. Because of this, they must abide by U.S. laws for financial institutions.
What your trying to achieve can be done with paypals SDKs
You should try and use Paypals new SDK
https://github.com/paypal?utf8=%E2%9C%93&query=sdk
With it you can take credit card payments, store credit card details within paypals vault (for later use), etc... without leaving your site.
This link is a sample from paypals github showing you how to do credit card payment
https://github.com/paypal/PayPal-PHP-SDK/blob/master/sample/payments/CreatePayment.php
This is a tutoiral playlist that is really good and will help get you started https://www.youtube.com/watch?v=8ArEzyCEKl4&list=PLfdtiltiRHWE_c8jjW5OeweL1c_8uqcnW

Related Links

Peer to Peer payments using Adaptive Payments
Implementing Paypal IPN with ASP vNext
Process delayed PayPal payment
How to add PayPal like structured data to Google email markup?
Paypal integration for ios
Paypal API Response Missing Fields
Payflow using Hosted Pages: Is TENDER required in the secure token request?
Braintree API Update Subscription
WooCommerce send items to PayPal in a wrong way
Paypal Express Checkout Japanese Zipcodes
PayPal sandbox doesn't work
Can Create Adaptive payment on paypal pro request
Paypal Adaptive Payment sandbox account and unilateral receiver not allowed
How can I tell if my paypal certificate is SHA-256? - PayPal service upgrades
How to insert multiple rows of paypal ipn variables to mysql database
PayPal webhooks don't work

Categories

HOME
semantic-ui
textwatcher
visualization
survival-analysis
h2
rfc
branch.io
devstack
schemacrawler
xcode8.3
maxima
uicollectionview
python-unicode
session-timeout
linq-to-sql
sql-update
memsql
yosys
jflex
switching
visual-c++-2017
onesignal
ui5
image-quality
mef2
edge-detection
data-conversion
pcre
dd-wrt
devforce
hibernate-cache
protobuf-net
swiftcharts
shibboleth
mmdrawercontroller
zero
elfinder
haskell-pipes
alchemy.js
knockout-3.0
prototypejs
archer
walmart-electrode
web-deployment-project
jgraph
xmgrace
shutdown
bnd
spring-data-hadoop
modelattribute
mcrypt
fedora20
cdk
qos
rxvt
createobject
ebtables
glkit
asteriskami
gherkin
eml
multinomial
license-key
kendo-menu
oai
python-winshell
graphical-logo
subversion-edge
robocode
magento-1.12
client-side-validation
kallithea
java-melody
gmaps4rails
csplit
mbox
circos
loop-invariant
execvp
jqmobi
va-list
ftp4j
shortcuts
zend-lucene
cbcentralmanager
returnurl
moq-3
blockingqueue
isolatedstorage
entity-framework-ctp5
mysql-error-1045
selectmanycheckbox
qtembedded
goliath
gtk2hs
search-path
ruby-debug
quick-search
idictionary
grooveshark
plinq
visual-studio-2010-beta-2
system-codedom-compiler
data-entry
hardware-infrastructure
self-reference
cots

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