[英]Unable to add test card in Google Pay TEST environment and order total
Test Cards: https://docs.adyen.com/developers/test-cards/test-card-numbers测试卡: https : //docs.adyen.com/developers/test-cards/test-card-numbers
UPDATE: Google Pay now supports dynamically showing the total price on the payments sheet.更新: Google Pay 现在支持在付款表上动态显示总价。 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.TEST
环境中使用 Google Pay 时,默认情况下 API 仍然需要有效的卡号。 As such, if you use invalid information, the checks will still fail.in this function getGoogleTransactionInfo()
add to totalPrice
:在这个函数中
getGoogleTransactionInfo()
添加到totalPrice
:
"<?php echo $prix; ?>"
As in the comment.如评论中所述。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.