We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1d8323 commit cb79abdCopy full SHA for cb79abd
assets/js/components/monei-apple-google-component.js
@@ -73,7 +73,7 @@ export const MoneiAppleGoogleContent = ( props ) => {
73
accountId: moneiData.accountId,
74
sessionId: moneiData.sessionId,
75
language: moneiData.language,
76
- amount: parseInt( moneiData.total * 100 ),
+ amount: Math.round( moneiData.total * 100 ),
77
currency: moneiData.currency,
78
onSubmit( result ) {
79
if ( result.token ) {
0 commit comments