Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you verify the amount with a server in the createOrder method? #110

Open
2 tasks done
jrhager84 opened this issue Jun 18, 2021 · 1 comment
Open
2 tasks done

Comments

@jrhager84
Copy link

To Do First

  • Take a look in the README
  • Take a look in the docs

Ask your Question
I'm trying to set up the buttons to verify amounts and coupons server-side before processing the Paypal payment to avoid price manipulation. How do I call my server to verify funds to return a success/fail for onApprove?

Tags
authorize, payment server, server, onApprove, createOrder

@eliasto
Copy link

eliasto commented Jul 10, 2021

You can use paypal webhooks, and then verify the amount by fetching your api/database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants