Can I just charge a credit card via REST API only, without authorization URL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am working with the REST API in Delphi. I can interact with the various APIs without a problem. My question has to do with the payment flow.
What I want to do is use the REST API to capture a charge without the end user having to go the the Paypal authroization URL themselves (i.e. https://www.sandbox.paypal.com/checkoutnow?token=7W102564D24555555). I just want to take the users name and credit card data from a Windows app and submit it for capture to the REST API
Right now, I am getting my access token, creating an order, and trying to approve/capture the order but I keep getting the message 'ORDER_NOT_APPROVED'.
So, is it possible with the PayPal API to just take the buyers name and card information, and turn that into a captured purchase, with no outside intervention? If so, can you provide the flow, or an example?
Note: I don't have an SDK for Delphi, so I am making the REST calls manually, and succesfully.
Thanks in advance
- Labels:
-
Payments REST APIs

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- where does paypal payments go to if there is no linked phone or email to the seller ? in PayPal Payments Standard
- Which api can get oauth2.0 authorization_code? in REST APIs
- [WooCommerce PayPal Payments] - Required phone country code, different than the cards country code. in PayPal Payments Standard
- NOT ENABLED TO VAULT PAYMENT SOURCE in Sandbox Environment
- Advance checkout in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)