question

saitmonato avatar image
saitmonato asked

On steam authorize payment no funds get taken from wallet and the item simply gets "revoked"

and here is a give of attempting to authorize:

https://i.gyazo.com/1157ab7a87f0755353ae4657f84dedc5.gif

I got no errors of any kind, what could be causing this?

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

saitmonato avatar image saitmonato commented ·

big note: this happens even in sandbox mode

0 Likes 0 ·

1 Answer

·
brendan avatar image
brendan answered

What are the specifics of the calls being made (to StartPurchase, PayForPurchase, and ConfirmPurchase), and the responses you get back for each?

5 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

saitmonato avatar image saitmonato commented ·

Stepping through the debugger in sandbox mode:

http://hastebin.com/ranenahema.vbs these are the specific calls, startpurchase finds the items in the catalogue gives me back this: https://i.gyazo.com/e8ed8dc7da53d3959d393ec5dd0559f5.png

Pay for purchase gives me back this:

https://i.gyazo.com/3e395c671ea25651f9366f8d5912b9d5.png

and https://i.gyazo.com/3e395c671ea25651f9366f8d5912b9d5.png

and for some reason it never makes it to confirm and i have no idea why

0 Likes 0 ·
brendan avatar image brendan saitmonato commented ·

First, an RM price of 1 is one USD penny - $0.01. I don't believe Steam will process a payment that small, as it would be a net negative, after the base costs of processing.

Second, you've got a copy/paste error in there - the second and third screenshots are identical, and it doesn't show the details of the response from the PayForPurchase call.

Once you receive the callback from Steam, that's the point at which you would make the call to ConfirmPurchase. For the transaction that fails, what are you hearing back from Steam?

-1 Like -1 ·
saitmonato avatar image saitmonato brendan commented ·

https://i.gyazo.com/3e395c671ea25651f9366f8d5912b9d5.png sorry here is the payforpurchase.

only one item is set to that price, none of them work neither in normal or sandbox mode.

in the hastebin i show calling confirm on the steam callback in start

0 Likes 0 ·
Show more comments
saitmonato avatar image saitmonato commented ·

Yeah, it seems that no matter what anything hooked up to MicroTxnAuthorizationResponse_t just never happens

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.