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

Paypal API calls on behalf of a third party
Pay pal Java api - Payment by credit card - Singapore (CURRENCY_NOT_ALLOWED)
Magento 1.9.2.1 Paypal Express Checkout
How to make paypal hosted button using paypal api
PayPal - Time needed from Direct Payment until receiving IPN message
how to refund partial amount in paypal adaptive payment
Paypal - card payment
Login with paypal - redirect_uri wrong?
Paypal developer account confirmation email is not sent
How to pay with paypal and then save parameters from my form?
PayPal Checkout Express in-context, doesn't work in my GWT project
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

Categories

HOME
xbox-live
jsf
system-verilog
wildcard
google-tag-manager
boost-thread
is-empty
laravel-4
ll
histogrammar
sequelize.js
vuex
xamarin-studio
sign
typeahead
zoomcharts
off-canvas-menu
ng-show
atlassian-plugin-sdk
apple-tv
go-cd
azure-servicebus-queues
csh
scalajs-react
shopping-cart
python-textprocessing
rhandsontable
cep
maximo
stocks
preg-grep
fractals
pdflatex
openpgp
passenger
bing-maps-api
image-compression
rule
service-fabric-stateful
finite-element-analysis
catia
rdw
istorage
rpostgresql
redux-router
gradle-script-kotlin
packagemaker
shipitjs
image-editing
supportmapfragment
loopj
cctray
loose-typing
android-viewholder
document-oriented-db
kendo-menu
textkit
built-in
playscape
graphical-logo
digits
debian-based
google-hadoop
httpie
c++-actor-framework
cloudpebble
sthttprequest
argument-passing
cppdepend
wss
svcutil.exe
dynamic-proxy
arangodb-php
gfs
sametime
phpsh
cbcentralmanager
sequelpro
ubuntu-11.10
cadisplaylink
ou
charts4j
goliath
scalaxb
.app
webrat
web-statistics
windows-controls
act
handheld
outlook-form
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