paypal


PayPal Express Checkout - friends or family


Hello I have a paypal payment gateway like to set the payment was sent as friends or family, not as goods or services, how to set up?
<form name="paypalform" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="<?=$site['paypal']?>">
<input type="hidden" name="item_name" value="<?='Add Funds - '.$data['login'].' - '.$s_host['host']?>">
<input type="hidden" name="custom" value="<?=($data['id'].'|'.$cash.'|'.VisitorIP())?>">
<input type="hidden" name="amount" value="<?=$cash?>">
<input type="hidden" name="currency_code" value="<?=($site['currency_code'] == '' ? 'USD' : $site['currency_code'])?>">
<input type="hidden" name="button_subtype" value="services">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="rm" value="1">
<input type="hidden" name="return" value="<?=$site['site_url']?>/bank.php?success">
<input type="hidden" name="cancel_return" value="<?=$site['site_url']?>/bank.php?cancel">
<input type="hidden" name="notify_url" value="<?=$site['site_url']?>/system/payments/paypal/ipn.php">
</form>
Unfortunately this is not something you can code your button to do, since the choice is only presented to a PayPal account holder during the "Send Money" process.
You can get this done using the Adaptive Payments API. You'll setup a Pay request and you'll see the payment type to PERSONAL. More details available in the Pay API request doc.
So you can't do it with a basic button like you're showing here, but if you can handle API calls you can get it done that way (assuming PayPal approves your app).

Related Links

ERROR: The total invoiced amount for xxxxxx#gmail.com does not match the amount in the pay for delayed chain payment
How Can I Log In With Paypal Without Going Through Mobile Verification?
Access Denied on return to website after paypal card payment
Paypal Braintree Paypal security key is not supported
Paypal send money link
Is Combined Buy Now / Donate Button
Configuration.GetAPIContext() not found in .net PayPal sdk
Paypal sandbox - cant login as facilitator
How to find the available amount on a particular credit card using papal API.
No access to dashboard
PayPal Web Payments Standard
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?

Categories

HOME
laravel-5
visual-studio-2015
vue.js
elixir
winapi
scipy
performancecounter
webrtc
angular2-routing
command
recyclerview
defragmentation
urlencode
i2c
slim-3
unity2d
jboss-eap-7
ndis
hashicorp-vault
informatica-powercenter
rebol2
scala-native
lstm
off-canvas-menu
zoho
csh
printdocument
metadata-extractor
lmdb
edb
hotmail
ifstream
hawtio
broadleaf-commerce
socketpair
meta-raspberrypi
mongoexport
fax
jquery-multidatespicker
socketscan
code-composer
tripwire
pdftk
intersystems-ensemble
spring-bean
apiary
ajp
data-integration
appstore-approval
istorage
livescribe
multi-agent
greenhills
windows-95
shinyjs
efxclipse
uistackview
excon
radians
metalsmith
coldfusion-7
python-winshell
abas
prezto
viper-architecture
mdm-zinc
ticket-system
django-1.6
activity-streams
pgagent
symfony-2.6
ibmsbt
adcolony
jstat
genetic-programming
dache
factors
reserved-words
crystal-reports-10
android-json-rpc
nservicebus4
asp.net-mvc-scaffolding
ruboto
stagefright
vertical-scrolling
objcmongodb
xml-libxml
sametime
pitch
getusermedia
makefile-project
flash-cs5.5
hinstance
text-size
tcxgrid
curljs
recordset
camtasia
kpi
usergroups

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