Invoicing Payment Type
Ilignis
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Dec-03-2018
04:03 PM
Hi All.
I am testing the python paypalrestsdk. I am successfully creating an Invoice, however it is defined as SALE for payment type. I would like to create is as an "authorization" to capture it later. How can I do that?
invoice = Invoice({
"merchant_info": {
"email": "email",
},
"billing_info": [{
"email": "email"
}],
"items": [{
"name": "Service",
"quantity": 1,
"unit_price": {
"currency": "BRL",
"value": "70"
}
}],
})
1 REPLY 1
angelleye
Advisor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec-03-2018
08:00 PM
To my knowledge, the Invoicing API does not support Auth and Capture directly.
If you want that functionality you would need to build your own invoicing system. You could setup a simple HTML invoice, for example, and when your buyer clicks to pay it would send them through a regular Pay Checkout flow with PayPal. This way you could go ahead and use Auth and Capture.
Of course, this means you'll also need to build your own invoice manager, because it won't be available as an actual invoice inside your PayPal account like it is when you use the Invoicing API. But, you'd have the flexibility to do what you're wanting.
If you want that functionality you would need to build your own invoicing system. You could setup a simple HTML invoice, for example, and when your buyer clicks to pay it would send them through a regular Pay Checkout flow with PayPal. This way you could go ahead and use Auth and Capture.
Of course, this means you'll also need to build your own invoice manager, because it won't be available as an actual invoice inside your PayPal account like it is when you use the Invoicing API. But, you'd have the flexibility to do what you're wanting.
Angell EYE - www.angelleye.com
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Customising Paypal Checkout Button in PayPal Payments Standard
- My webhook stopped working 2 weeks ago in REST APIs
- Website using Paypal SDK - telephone question in SDKs
- When I do PayPal capture Order, I keep on getting Invalid Request Connection in REST APIs
- Paypal Pay button generates GENERIC_ERROR in PayPal Payments Standard