My Requirement: We have an iphone app which will accept paypal login id and password of user and our web service should authenticate those details and if the user is a valid one, on next web service call will accept the details of second user and amount to transfer and the web service should make the payment automatically (without redirecting to paypal site).
Is there any facility available in paypal for this functionality. I have gone through adaptive payments of paypal but didn't find anything related to authentication. We have written the web service in php. Any sample code/ links would be helpful. Thanks
I believe this is what you're after. Specifically Login with PayPal and Seamless Checkout.
You might also want to look at Adaptive Payments, specifically Preapproval and Pay.
Related
I am currently using CCavenue as my payment gateway, and we collect payments via email, where the Pay button is pre-configured with the URL, which redirects to the payment gateway. I am keen on using Google pay. Below are my few queries -
a) Can a payment gateway be completely replaced by Google pay?
b) Can I embed google pay into the mail and receive the payment or it needs to be in-app only?
I am using Laravel as Backend.
Google Pay does not process payments, and as such, works in combination with existing payment processors / gateways. Here is a list of supported processors as of today (CCAvenue does not seem to be in that list yet).
You can only use Google Pay wherever you can run JavaScript on the web (or on Android using Java or Kotlin), thus most email clients and services will not support such an integration.
Hope it helps.
I just finished building a donation form on a client's website, which processes payments through PayPal's classic api. It works fine in Sandbox mode, but I'm getting a 10501 - This transaction cannot be processed due to an invalid merchant configuration. error.
I know that this error is caused by PayPal payments pro not being enabled on the account the API is trying to access. That is were I'm somewhat confused. The account I'm connecting this donation form to is subscribed to Paypal Payments Pro.
When I first encountered the 10501 error, I thought that PayPal may require myself to log in and enable the Payments Pro service. I found a "get started" button under the payments pro section of the site, but when I click it, I'm taken to a page which only provides a link to the API documentation.
I've never worked with PayPal's API before or launched a live paypal application. I'm hoping someone can point me in the right direction.
NOTES
Just to make it clear, the PHP donation form DOES work in PayPal's sandbox mode
I have acquired the correct API keys from the live account and I know for a fact that I did not mix up the live credentials with the sandbox.
this donation form is on a website, not an mobile app (do I still need to register it as a paypal app?)
Thanks
A lot of times what happens is that PayPal enables the Virtual Terminal for you, but not the DoDirectPayment API. I would just give them a call and let them know you have Pro, but your DDP calls are resulting in this error, and they can probably get it enabled for you.
It's also possible that your version of Pro requires you to use the PayFlow API instead of DoDirectPayment. That's something they can tell you when you call them.
I purchased a PayPal Adaptive module, to make it work I have to enter the LIVE APP ID that was given to me when I activated the application on the PayPal site?
Or should I use the API that I create through my paypal account?
For Adaptive you need your API credentials and your App ID.
I know this question is old, but in case it comes in handy for anyone in the future, you'll need to login to your developers account and click classic APIs
My application processes payments using the Adaptive Payments Pay API, it is just the API called, it is not a sender or receiver of the funds. The payment's are set as personal payments as they are gifts. Everything works fine in sandbox, the problem is when switching to live, I get API credentials from my business account and set them in my app for the live site, but now I get an error "The caller's credential doesn't have permission for the payment type PERSONAL"
I guess this is because my business account is the API caller, but I don't see how that should stop me from processing personal payments when the receiver is a personal account (as is sender). Anyway around this?
Or do I have to use a personal account to process payments?
Did you get a live App ID for your application? When you applied for that app you should have explained that you'll need to be process personal payments so they could enable that feature for you.
You can indeed send personal payments from business accounts, but you just need to get it enabled for your app.
I want to test clicknbuy payment gateway like paypal sandbox? Is that possible ? If yes, how ?
You can test Paypal by using different settings for the script. Instead of using the "real" api you create a developer account. That allows you to have a fake account and fake usernames to simulate payments. When you're done with everything you can switch to using the normal api instead of the test server.
Base site: https://developer.paypal.com/
More information at https://www.x.com/community/ppx/testing
Click on "Testing Web Checkout APIs"
Testing Web Checkout APIs PayPal Web
Checkout APIs includes Express
Checkout, Website Payments Pro, Button
Manager, Mass Pay, Recurring Payments,
and all of the Information APIs
Login or sign-up on
developer.paypal.com Create your test
accounts - you can learn more about
this in the Getting Starting Guide.
Get you API Credentials for your
Business Test Account Code and Test
Read the Documents Get Sample Code
Download SDKs
Use the correct endpoint
Go live :)