Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

Update server.js #2

Closed
wants to merge 1 commit into from
Closed

Conversation

tuppers360
Copy link

Sends correct amount in lowest denomination to Stripe to charge.

At present 99.00 is converted to 0.99 in stripe which is incorrect.

Multiplying by 100 converts the amount of the product to the correct amount.

Sends correct amount in lowest denomination to Stripe to charge. 

At present 99.00 is converted to 0.99 in stripe.
@adreyfus-stripe
Copy link
Collaborator

Thanks for filing the PR! Closing this one to update across all servers + client code display

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

Successfully merging this pull request may close these issues.

2 participants