Automating payments through paypal - magento

I am new to e-commerce development. In my marketplace application, I have three parties involved: Me, customer(end user) and vendor. The customer pays to me for a service to be done by vendor and when the vendor completes the service, I have to transfer the payment to them. So essentially the business logic is:
Customer pays to me through paypal/credit card/apple pay etc.
I ask the vendor to serve the customer.
When customer confirms the service, I pay the vendor's share.
Customer may also ask for a cancellation.
So, I thought to use braintree to collect the payment from customer, but I am not sure how to transfer the vendor's share automatically on a certain day of week? So for example, suppose on every Monday, I want my system to go through the completed services and transfer the vendor's share. Assuming each vendor has got a paypal account, can I do it through paypal? Is there a way to transfer the vendor's share from backend without asking me for the credentials or any conformation?
Thanks in advance.

Yes you can do this programmatically through REST APIs. You can do this by using PayPal's Mass Payment system. It's called Payouts when you are using REST APIs. I'm not sure if there is a Magento extension for it. You do have to be approved for it. Just go to your REST Applications and enable Payouts.

Related

Is a marketplace of Square Online Stores possible?

I want to develop a market place store front for farmers, but use Square as my payment gateway. I have achieved this using Stripe, but they do not have the in-person payment option and that is crucial for the business model we want.
I would like to know do you allow application fees that go to the marketplace owner on transactions? If not, how do you propose that a user of the payment gateway that is building a marketplace get paid. I need to pay the vendor AND the marketplace owner. I saw that with OAuth, you can connect to up to 10 merchants from your merchant account. How am I supposed to use this information to get paid?
Can I create a separate fee transaction/transfer on a merchant account that goes into the marketplace account? If so, I would incur the 2.9% +30 cent fee for a small transaction of maybe 40 cents. Is there a way to avoid that?
The Square Connect API does not currently support additional application fees on top of API charges (aka "multi-party payments").
While the API can be integrated into your platform as an e-commerce payment gateway, it is not currently recommended for platforms that require multi-party payments.

Magento marketplace with vendor payment

I'm using marketplace extension from magentoconnect in my store. This extension is really good and works exactly what i needed it to do but there is 1 particular requirement I need which it doesn't provide.
For vendors, I want payments of each product sale to go directly to vendor's account ( through their credit card etc which they need to add before their product becomes visible ) and commission amount ( some percentage which is set by marketplace through admin panel ) to go to site owner's account. I know there is paypal adaptive payment add-on available with this extension but I don't want to use paypal due to some reasons.
I have tried to create my own module which will gather vendor's payment method after their login and will verify it if their credentials are working or not. But i'm confused as to which approach should i use to get their order payment to go directly in vendor's account and commission in site owner's account right away.
Also, i want to use authorize.net to charge clients as stripe does not support a lot of countries.
Any help in right direction is very much appreciated. I need a solution as to how i can implement it. I can customize or create my own module if needed be for this particular case, but i need to know which is a better approach or what will be close to magento way of doing stuff.
Sorry for my bad english.
Thanks In Advance
Ab.M
Hi Regarding Paypal adaptive payment this thread will help https://www.paypal-community.com/t5/About-Payments/Adaptive-Payments-for-Magento-marketplace/td-p/968101
as authorize.net does not provide marketplace api like stripe or paypal provides so it wouldnt be possible in this way .
PS - we are not self promoting our plugin or product , as user asked the questions specifically about our product that why i have added extension link with images and screenshot

Paypal delayed chain execute payment to specific receiver?

I'm working on a Magento marketplace where the client would like to use paypal delayed chain as payment method. Here Client will hold the vendors payment for 15 days and then execute payments. The scenario is Client don't want to hold payments for highly credible vendors. He wants to pay them right away. But in delayed chain, we can't execute payments based on vendors. When the time comes to pay vendors, all vendors will be paid at once based on transaction id or pay-key which used to create payment.
I need to implement this scenario in Magento. Does anyone have solution on this potential issue?
After digging deep about this issue, I found that paypal doesn't support what I asked from their API or the API is still isn't matured to accommodate the need. So we went with another solution to overcome this problem. Solution is not efficient but it's the only working solution as of now.
We have to go with checkout by vendor, so that we can execute payment based on vendor since each order is associated with a vendor.

Steps for billing at Marketplace

I am planning to list a Gmail Contextual Gadget on Google Apps Marketplace. More than a year ago I created a vendor profile and a listing (so I am familiar with those steps), but I never made the gadget commercial. Now I'm ready for setting up the gadget for sale but I am wondering about the billing is implemented. As I've read in the Marketplace billing documentation, Google does not provide any solution for this, but recommends that I implement it myself or use a third-party billing product.
So my questions are:
- Which are the basic steps to create a billing solution for your listing?
- Is there any way keep the payment "manual", in that sense that I enable the product for installation manually (with a token etc) for a customer when the payment is received?
- How long time do I have to estimate for this?
Really appreciate an answer!
You need to use the Licensing api
https://developers.google.com/google-apps/marketplace/licensing

windows phone ApplicationPolicy for in app payment

I was wonder if it's possible to use PayPal mobile checkout directly in my wp7 app, as in-app payment gateway.
My concern it’s Microsoft marketplace application policy 2.1:
“Your application must be fully functional when acquired from Windows
Phone Marketplace (except for additional data as permitted below).
Unless you have a pre-existing billing relationship with the user,
your application may not require the user to provide payment
information,within the application experience, to activate, unlock, or
extend usage of the application. “
Does this means I’m not allowed to use PayPal to make in-app purchasing?
Thank you,
Alex
I think this policy only applies to your app. If you want to use PayPal
to activate, unlock, or extend usage of the application
than it's not allowed. If you want to do other things which require PayPal the policy allows you to do so.
The marketplace requirement menas that you must have that "pre-existing billing relationship with the user". It doesn't put any restriction on how you bill your users. You could, therefore use PayPal or any ither method available to you.
This requirement is partly to enforce the prevention of apps which have no functionality when downloaded from the marketplace, without paying for the content.
I would suggest contacting app hub support to further discuss your specific requirements if you need to or to confirm the exact meaning around what qualifies as a "pre-existing billing relationship".
You can use Paypal. If you study the clause carefully, it states "Unless you have a pre-existing billing relationship with the user, your application may not require the user to provide payment information,within the application experience, to activate, unlock, or extend usage of the application."
f you do not have a pre-existing billing relationship with new users, all they need to do is to complete the payment information outside the app, for example get redirected to an external browser (Paypal) to input their details.
Hope this helps.

Resources