DEV Community

Discussion on: The guide to add Payments to your React Native App with Stripe, Expo and AWS Amplify

Collapse
 
cfbo profile image
cfbo • Edited

Great article. I have some doubts about allowing updates to the payment table from the react app. A malicious user may use that endpoint to update payments records in your db.
I think the payment table should be updated in the backend based on events received by stripe via the webhook.
I might be entirely wrong, but that's my current understanding.