Paypal parallel payment using saved card - ruby-on-rails

I am saving the customer credit/debit card on paypal. is there is any method to send Parallel Payment using these saved cards.

So your looking to use pay-pal vault with adaptive payments APIs? I was stuck with the same sort of issue.
My research concluded that this cannot be done, with the current adaptive payments APIs.
So there are two solutions
1) Wait till the rest api team adds spilt payments to the rest APIs. You can follow development of this feature # https://github.com/paypal/PayPal-iOS-SDK/issues/9
2) Pay into one account (A nominee account look it up) and use mass payments to pay out to other accounts

Related

How to send payment to the customer from Stripe account using API in Rails?

One of my client Ruby on Rails project have a functionality of get payment from customer in his stripe account.
Now, He needs to pay that payment to the item owner after deducted commission. So, how we can pay from stripe account to particular customer account using API in Rails?
I have checked many API's but not clear which exactly use for it.
Any one have a idea or experience in it?
Thanks
See the Stripe guide on Using Checkout with Rails.
I am not positive if a customer token can be used to send funds to, but if so or not, the following still applies.
If the customer has a connected account (or customer token), you can then use "transfer" to transfer the funds to them.

Preauth and split payment in paypal using REST APIs in rails

I have buyer and seller in my platform.
When the buyer purchases a product, at the same time the amount should be captured from his account, and on product delivery the seller should receive the amount and admin gets 10% as platform charge.
This implementation is very easy in stripe but I want this to implemented in Russia, France, and Germany and stripe is not supporting these countries.
So, I want to go with PayPal.
I am googled and found that adaptive payment is used for that.
But on the paypal documentation page, it is written that adaptive payment is restricted. Paypal's documentation is very confusing and limited.
I want some can help me on that or can share some links for my better understanding.
Unfortunately, there is not a "quick and easy" solution available right now.
They have added the Marketplaces API which will replace what Adaptive Payments was doing, but it's not ready for public use yet.
You might be interested in this article about PayPal split payments with Express Checkout. It outlines a few alternative methods to get this done.

How to receive payments in PayPal account

I have an app in which I have to receive payment within the app
The flow should be as below
user A will pay to merchant
Merchant will deduct his fee (say 10% )
merchant will send 80% to user b who do the service
My question is how we can transfer money from Merchant to user B
Can we ask a user to enter PayPal detail in a form and send that to our own server and then we can make the transfer?
Please suggest.
There are a few different ways to accomplish that.
1) You could use the setup a chained payment with the Adaptive Payments API and it would handle the split of the money between the different accounts for you. You could even do a delayed chained payment if you need to delay the funds to the secondary receiver(s).
2) You could setup a regular PayPal checkout of any kind (Payments Standard, Express Checkout, etc.) with the merchant site, and then use the Pay API (which again would be part of Adaptive Payments) or the MassPay API to send payments out to the secondary receiver(s).

paypal immediate, chained payment

I have a an application for digital goods which makes use of paypal.
I need to tackle the following scenario:
A buyer (german paypal account) buys an item, the application itself (german paypal account) should receive a fee and another party (german paypal account) should receive money.
So I started using adaptive payments (in rails I do use the active_paypal_adaptive_payment gem), which is working fine.
But as soon as the buyer is located in the us (paypal sandbox account for us seller) I have an unverified checking account. Consequently the payment remains pending until the receiver accepts the payment.
But this is not wanted, since I want to accept only payments which can be processed right away.
So is it possible to use paypal's immediate payment in conjunction with adaptive payment (preferably the active_merchant gem for reils) ?
Best,
Philip

Implementing our billing system in rails: Paypal, pure Merchant Account / Gateway, or something like Chargify?

I've seen a few questions related to API specifics and paypal. Generally speaking if I'm going to offer my rails app as a subscription based service, what are the pros and cons of the different payment systems available on rails?
My main concerns are:
Avoiding PCI compliance, and not storing any credit cards on our servers
Easy API with recurring payments
Looking professional (not showing someone paypal branding anywhere as an example)
Paypal seems to have some "PRO" services that meet the above criteria, but I was curious about using a gateway like Authorize.NET directly?
What does Braintree offer above and beyond these?
What about Charify? It seems to be a layer on-top of gateways like Authorize.net with added dashboards and reports.
If the gateway or payment processor is storing credit cards for me, what happens if I want to take my 10,000 customers with me to a new billing service? Do they all have to enter payment info all over again? Is there a procedure in place so that different providers can move my customer / Credit Card database between them?
We've used Chargify and it's great for a couple of reasons:
PCI compliance: Chargify handles the storing of the credit card
Auto Charging: Will auto charge the credit cards after N months and a trial period
Dunning: Will email users if the charge fails, and try several times before expiring their account
Great Gems: the chargify gem rocks.
So I highly recommend using Chargify with Authorize.net
Cons:
Chargify adds about $0.10 to each account per month in addition to your merchant fees
I recommend this write-up which will clear up many of these questions.

Resources