Reputation: 1688
Test Cards: https://docs.adyen.com/developers/test-cards/test-card-numbers
Upvotes: 2
Views: 19436
Reputation: 11
In environment TEST, if you did not join the site test, you cannot use the card test.
Test Cards: https://docs.adyen.com/developers/test-cards/test-card-numbers
You have to add your email to test card suite group. This sets up your account so that when you open the payment sheet with the environment variable set to TEST
google.payments.api.PaymentsClient({ environment: ‘TEST’ })
https://developers.google.com/pay/api/web/guides/resources/test-card-suite I hope this helps you
Upvotes: 0
Reputation: 1
in this function getGoogleTransactionInfo()
add to totalPrice
:
"<?php echo $prix; ?>"
As in the comment.
Upvotes: 0
Reputation: 6250
UPDATE: Google Pay now supports dynamically showing the total price on the payments sheet. This price can also be updated as the user changes their selection at checkout (eg.: shipping option). You can configure these pricing updates as shown in the docs.
You can also check out the official announcement for more details.
Hope it helps.
TEST
environment, the APIs are, by default, still expecting valid card numbers. As such, if you use invalid information, the checks will still fail. Said so, your card is never charged nor the token that the systems responds with allows to perform any transaction.Upvotes: 4