I'm trying to integrate the Paypal API to my Laravel project to send payments to users emails automatically from my own Paypal account.
The thing is that there are some "mass payments" packages but that's not what I need, I actually need to send a single payment to one user each time.
Thanks in advance!
I don't know about package you are using but for single payout or any type of payment you can use PayPalPHP SDK and here is sample code for single Payout :
Paypal Single Payout PHP
This is PHP Package and you can pull with composer so you can easily use with Laravel Also.
Let me know if have any question.
For document please have a look Paypal Documents API:
Paypal Documentation
Related
I'm trying to make an integration between Shopify and an external bank API.
The integration is simple, is just request a JWT in the bank endpoint, sending data, and receive a response. My problem is that I have never used Shopify, and I'm not sure if it has a backend to make all this process and how does it works or where could I find it. I search in Google but I didn't found a clear answer for this.
Can anybody help me? Thanks a lot.
you have multiple ways to do this, all depends what you need.
search on settings / payment methods if this bank has already a connection with shopify
Search on shopify apps store if already exist a shopify app for this bank.
If don't exists you can do your own app. there you have two options public or custom apps
If I was you I'll do a public app because I can sell to more shopify customers interested on use the same bank, you can even sell the app to the bank itself on the future.
You should follow the directives from shopify dev
I'm creating an app with react native that have a payment module with credit card and PayPal as payment module. The payment is automatically transferred to a vendor account subscribed in our platform
(Buyer -> Platform -> Vendor).
I already successfully created this payment flow in the credit card payment module using stripe as a payment gateway but i didn't find a way to do it with PayPal.
Here's a list of what i tried:
Adaptive payment: the problem with PayPal adaptive payment is that's it's not mobile friendly, the standard checkout page is not even close to being responsive. The lightbox checkout page need to open a new Popup which is not possible with RN WebView. And the Mini-Browser one do not return a response after the payment is done (check out this link)
Braintree SDK: Braintree has a pretty great SDK for RN that i already tested and it works great, the problem is that i need to use Braintree's master-merchant and sub-merchants technique to achieve the payment flow i need, but this technique is only available in the US and the funds needs to be in USD and my application is deployed in France using EUR as a currency.
Braintree SDK with PayPal payout: I could create a Braintree account to receive all the funds and then send each one to it's receiver (vendor) automatically but i couldn't find a way to do this
If anyone have an idea of how could i create this flow with PayPal on RN.
Fixed with using the PayPal express checkout with a payee object.
If you want to know more about this functionality i advice you to read more about it here: https://www.paypal-engineering.com/2017/01/03/setting-payee/ .
Now instead of calling the Adaptive Payment API i use the regular payment API with a custom payee and then give the user the express checkout link generated dynamically and finally i call the execute payment API to make the payment after having the client authorization.
We are using Woocommerce along with PayPal Pro on our website.
We are using the CloudIQ basket abandonment system and need to add a PayPal API request call to be made after the customer completes the checkout process.
Does anybody know if this is possible in PayPal and how I do this?
Thanks
Not quite sure about your exact request. But if you are referring to the data collection API call in PayPal, you can refer to the link below about PayPal Instant Payment Notification (IPN).
https://developer.paypal.com/webapps/developer/docs/classic/ipn/integration-guide/IPNIntro/
In addition, PayPal have Classic API and REST API for your reference in the link below.
https://developer.paypal.com/docs/classic/api/
https://developer.paypal.com/docs/api/
I just bought a script with the Masspay API needed to make an authorized payment at a specific time the "deal" ends.
With that said I am unclear why mass pay would need to be enabled for this feature.
If someone could please explain what Masspay is? And I have been reading that masspay is no longer availabe and I would have to contact paypal directly? Is this true for the sandbox accounts also?
If anyone has any information on this subject I am more than thankful.
Thanks.
If I understand your correctly,
Mass Payment is used for sending money.
If you are the merchant with record (you ship items and charge customers), then PayPal Express Checkout is what you want. You can DoAuthorization to hold the fund before you ship the item, and then DoCapture to collect payment after you shipped.
In you are part of the service provider, say you and another merchant both provide the service and own the payment from customer, then Adaptive Payment is what you need. You need call Pay after you shipped.
In simple terms Masspay allows you to make multiple payments to multiple people in a single shot using xls or csv files.
No, paypal is not sun-setting Masspay. This feature is still available and will be supported by Paypal.
I am new to the paypal and intefrati it with asp. Net mvc.
Can anyone plz guide which api should be used...??
I have downloaded merchant sdk and I have also seen the documentation but still not able to get what can be used among express checkout, pro, adaptive payment, etc
Thanks in advance.
I would recommend Express Checkout with Recurring Payments. Specifically, that will consist of the following API calls:
SetExpressCheckout - To get a token back from PayPal, and then redirect the user to PayPal.
GetExpressCheckoutDetails - To obtain details about the buyer. This is optional depending on how you setup your SEC request
DoExpressCheckoutPayment - This would be used to finalize a regular (non-recurring) Express Checkout flow.
CreateRecurringPaymentsProfile - This would be used to generate the profile using the tok you got back from SEC.
If you want to setup recurring payments with credit cards directly on your site you'll need Payments Pro with Recurring Billing, and then you would use the PayFlow API to set everything up.