Note that there are some explanatory texts on larger screens.

plurals
  1. PORe: JWTs, PURCHASE_CANCELED
    primarykey
    data
    text
    <p>Having trouble with the <code>PURCHASE_CANCELED</code> error in Wallet for Digital.</p> <p>A. I can successfully round-trip JWTs between </p> <p><a href="https://sandbox.google.com/checkout/customer/gadget/inapp/demo.html" rel="nofollow">https://sandbox.google.com/checkout/customer/gadget/inapp/demo.html</a></p> <p>and</p> <p><a href="https://developers.google.com/commerce/wallet/digital/docs/jwtdecoder" rel="nofollow">https://developers.google.com/commerce/wallet/digital/docs/jwtdecoder</a></p> <p>...of course I can, they're both Google tools.</p> <p>B. I can successfully pass from PyJWT to the decoder, seems no info changes.</p> <p>C. I can successfully pass from the demo to PyJWT, seems no info changes.</p> <p>D. The request in the <code>.buy()</code> failure callback is correct.</p> <p>This is extremely frustrating, to have no feedback from Google Wallet when it does <code>PURCHASE_CANCELED</code>.</p> <ul> <li><p>I cannot make identical JWTs between PyJWT and the demo encoder. Even with exactly similar data in exactly the same order, the result varies at the end of the long string. Does this matter?</p></li> <li><p>Is there any way of independently generating the <code>signature (encoded)</code> to verify against?</p></li> <li><p>Does the order of keys in the object to encode matter?</p></li> </ul> <p>Edit:</p> <ul> <li><p>In the Order History, Wallet says "Google has sent the customer an order confirmation email." No emails arrive to my test buyer.</p></li> <li><p>Also in the Order History, Wallet says "The customer's credit card was authorized for $3.00, and passed all risk checks". Looks promising.</p></li> <li><p>I remember reading that, in the Sandbox, no banking or tax info is necessary. However, Google Books held me up for months on "selling" a $0 (free) book in Google Play due to lack of banking/tax information; without it, the book never made it through the approval process, no other explanation given. Does the Sandbox need even fake/placeholder information to allow <code>.buy()</code> transactions to proceed?</p></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload