我將數據發送到谷歌錢包是給錯誤將數據發送到谷歌錢包是發送響應商戶錯誤
錯誤類型:merchant_error 這是資源網址:https://developers.google.com/commerce/wallet/digital/docs/tutorial#1
function setup() {
runDemoButton = document.getElementById("runDemoButton");
runDemoButton.onclick = function() {
google.payments.inapp.buy({
parameters: {},
jwt:"eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIxNDIwNDk" +
"1MzA5NDM1MjE2ODU3MSIsImF1ZCI6Ikdvb2dsZSI" +
"sInR5cCI6Imdvb2dsZS9wYXltZW50cy9pbmFwcC9" +
"pdGVtL3YxIiwiaWF0IjoxMzc0ODE4Mzg1LCJleHA" +
"iOjEzNzQ4MjQzODUsInJlcXVlc3QiOnsibmFtZSI" +
"6IlBpZWNlIG9mIENha2UiLCJkZXNjcmlwdGlvbiI" +
"6IkEgZGVsaWNpb3VzIHBpZWNlIG9mIHZpcnR1YWw" +
"gY2FrZSIsInByaWNlIjoiMTAuNTAiLCJjdXJyZW5" +
"jeUNvZGUiOiJVU0QiLCJzZWxsZXJEYXRhIjoiWW9" +
"1ciBEYXRhIEhlcmUifX0.yP89u5CAaoBCmdWknpX" +
"084EmNngzs6BGgqLC03qO7Rw" ,
success: function(data1) {window.alert("success"+JSON.stringify(data1))},
failure: function(data) {window.alert("failure"+JSON.stringify(data))}
});
return false;
};
您可以提供更多信息。 :-) –
你現在可以得到的最佳答案是:*我認爲有商家錯誤*。請提供一些代碼:) –
我已添加代碼 – Hamid