Create Order for $100 but capture $1000 without the customer knowing?
riscarrott
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Sep-26-2019
07:04 AM
I'm integrating with PayPal Checkout (I think previously called Express Checkout?)
In the sandbox environment I've found I'm able to create an order for an amount, e.g. $100 and upon approval I can update the order amount to say $1100 and I'm still able to capture this higher price -- is this only allowed in the Sandbox environment, what would happen in production as it doesn't seem right?
e.g.
window.paypal
.Buttons({
createOrder() {
// Create order with amount === $100
},
onApprove() {
// Update order amount === $1100;
// Capture $1100 even though the customer thought they were being charged $100?!
}
})
0 REPLIES 0
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
- Disputes Webhook does not works on Sandbox (23/04/24) in Sandbox Environment
- How do I update shipping in the popup when using onShippingAddressChange() in REST APIs
- can we assign a unique detail to every subscription creation? in NVP/SOAP APIs
- Buy Now button in the sandbox - no customer confirmation email in Sandbox Environment
- Mandatory Account Creation Hindering Customer Experience in REST APIs