
Valdi
-
Posts
4 -
Joined
-
Last visited
Reputation Activity
-
Valdi got a reaction from jerrey in ClientMicroTxnAuthRequest (5504)
Hi
If you are using globaloffensive library
when you call the _send method, just add the callback (last parameter) and it will add source id automatically
_send( CS2Emsgs.k_EMsgGCStorePurchaseFinalize, Protos.CMsgGCStorePurchaseFinalize, { txn_id, }, (appId, msgType) => { if(Language.StorePurchaseFinalizeResponse != msgType) { return; } this.emit("itemsPurchased"); } // fix the issue with source id ); -
Valdi reacted to anonymous in ClientMicroTxnAuthRequest (5504)
Debugging this issue was a pain, but Steam now requires you to send the source id in the header with the purchase finalize request. You can do this by adding a callback to the function when sending the request.