We would like to use Paypal for credit card authorization exactly as we do for Paypal transactions, only skip right to approval for users who do not want paypal.
The REST API for paypal has the setPaymentMethod always set to "paypal" in every example I can find, and I don't find a list of possible values. May this constant be set to something like "payflow"?
The hope is that the REST API would work to allow a credit card customer get payflow dialogs rather than paypal login/guest login. The idea is to try and use our existing REST code to process credit card payflow transactions and retain the "create order" then "capture" processes we have for paypal transactions. I can't tell if the REST API is capable of this.
Payflow does not work with the REST API in any way. Payflow is very old, and uses a much older NVP API.
If possible, use a more modern solution such as Braintree Direct or Advanced Credit and Debit Cards rather than the old Payflow gateway.
Related
My client uses the PayPal NVP API for processing both PayPal and credit cards payments. That appears to be deprecated or PayPal is encouraging upgrading to REST. I convinced my client to do the upgrade and while implementing it I noticed the following:
Important: The use of the PayPal REST /payments APIs to accept credit
card payments is restricted. Instead, you can accept credit card
payments with Braintree Direct.
That puts a serious wrench in my work.
A little more searching around and I find this option for accepting credit card payments with the REST API:
Guest payments with a credit card that is stored in the PayPal vault
This would imply to me that the Vault must be used on conjunction with guest payments. Can anyone confirm if that is the case?
It looks like to enable guest checkout payments "PayPal Account Optional" must be turned on which I have confirmed is on in my sandbox account.
The presumption I am now going on is credit card payments with the REST API will work as long as this option is on in the merchant's account, however, I don't find this clearly stated anywhere and I don't want to continue on swapping out APIs for my client if credit card payments via REST won't work now or at some point in the future. I also find it odd I don't find any example API calls in the Payments API using a credit card. I had to figure that one out on my own with a little help from Google.
I appreciate anyone's experience using the REST Payments API to process credit card payments given it's stated that it's "restricted".
I am new to Paypal integration and cannot find how am I supposed to make it. My requisites are the following:
Company registered in Argentina
Users should be able to buy without having to create a Paypal account with a credit card
The integration should not be easily tampered with
With those (I thought) simple requirements I spent many hours and couldn't find a solution that applied.
This is what I found out:
Payments REST API, should not be used for credit card payments
Important: The use of the PayPal REST /payments APIs to accept credit
card payments is restricted. Instead, you can accept credit card
payments with Braintree Direct.
https://developer.paypal.com/docs/api/payments/
Braintree Direct (the method to integrate credit card payments with full customization is not supported in Argentina) https://www.braintreepayments.com/country-selection
NVP and SOAP API Reference (old Paypal API to integrate payments) is no longer supported.
Important: This integration method is Deprecated as of January 1, 2017. For
new integrations, see the PayPal Express Checkout Integration Guide.
https://developer.paypal.com/docs/classic/api/
PayPal Express Checkout Integration is horrible, seems insecure and prone to tampering if used only client side, and though I found a way to make it work more securely with a server-side payment generation I couldn't find a way for it to pay without having a Paypal account.
https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/
and
https://developer.paypal.com/demo/checkout/#/pattern/client
So I am left with no option to integrate credit card processing through Paypal for a business in Argentina. Before giving up I would like to know if somebody knows of a way to make this integration work.
Payoneer is also an option. Paypal isn't the only thing out there.
I have been looking everywhere for a solution. Hoping someone else has a solution.
Here is the scenario, I use ClearCheckbook.com to keep track of the inflow/out flow of my accounts. I use their API to add transactions when I get a Paypal IPN I have a script that creates the transaction in clearcheckbook.com. It works great from when I receive money. However if I pay with my paypal account or more commonly when I use my paypal debit card, it doesn't notify me. I would like to be able to do the same, where I have some sort of webhook/notification that. Any Ideas?
At this time, our Webhook and IPN systems do not support notifications for purchases (send money or debit card purchases). Both of these systems only support notifications for payments being received into your PayPal account. The only exception to that is the Payouts API, which is technically considered sending money to other accounts. The Payouts API is supported by our Webhooks system but no other purchase (send money) transactions are supported by our Webhook or IPN systems as of now.
An alternative option would be to use our Sync API to get your account reporting data. You could then implement a solution to parse that data and use the ClearCheckbook.com API to add the purchase transaction data into their system.
Here is a link to our Sync API for further information on how to use that API.
https://developer.paypal.com/docs/integration/direct/sync/
First of all a want to mention that I am very new in PayPal at all.
I have create a plugin for WordPress, that is useful for booking a taxi for a trip. The plugin, it has it's own cart, that allowing the client to add several services in the cart and then to check out via PayPal.
As I mentioned earlier I am new, to PayPal, so I have download the PHP SDK provided by the PayPal, and I have complete the first step of the payment process. I have got the Token, and then redirect my client to PayPal web site to perform the payment.
The problem is that, in PayPal web site I have only the options "Have a PayPal account?" and "Create a PayPal account". What I like to ask, is how can I use the credit card payment instead of the "Create a PayPal account" ? Is there any way ?
Any idea please ?
You may want to try using Stripe. http://www.stripe.com/ super-easy, and has excellent documentation. I have used it alongside Paypal express checkout.
Paypal now required paypal account to get payment when you use express checkout api, to get payment from paypal use credit card reference api or any other api suit your need from paypal
Is there any up to date documentation out there on how to use the Paypal direct payment API?
I found a working demo code for Paypal direct payment API : http://www.mmtutorialvault.com/paypal-pro-integration-in-php/
Google found this:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_code
wont that do?
If you are using PHP this component is worth a look. It costs $30, but I found it was well worth the time and effort saved. http://www.binpress.com/app/php-paypal-api-class/20
PayPal provides various payment related operations using the /payment resource and related sub-resources. Use /payment for direct credit card payments and PayPal account payments.
URI: https://api.paypal.com/v1/payments/payment
Create a payment: POST /v1/payments/payment
For more information, refer:
https://developer.paypal.com/webapps/developer/docs/api/#create-a-payment
On the Paypal PHP SDK repo Paypal says :
Direct Credit Card Support
Important: The PayPal REST API no longer supports new direct credit card integrations. Please instead consider Braintree Direct; which is, PayPal's preferred integration solution for accepting direct credit card payments in your mobile app or website. Braintree, a PayPal service, is the easiest way to accept credit cards, PayPal, and many other payment methods.
So Paypal recommands to use Braintree Direct. More details on Braintree direct page