chr233 / ASFEnhance

ASF 扩展命令插件 / External commands for ASF
GNU Affero General Public License v3.0
497 stars 41 forks source link

Purchase does not work | transaction is always null #119

Closed SENPAY98K closed 1 year ago

SENPAY98K commented 1 year ago

Describe the bug / Bug 描述 Transaction is always null..

ASFenhance 遇到错误, 日志如下
==========================================
 - 原始消息: TEST
 - Access: Owner
 - ASF 版本: 5.4.7.3
 - 插件版本: 1.8.4.0
==========================================
{
  "EULA": true,
  "Statistic": true,
  "DevFeature": false
}
==========================================
Watashi-Senpai commented 1 year ago

+1

chr233 commented 1 year ago

steam now has change its checkout domain to checkout.steampowered.com, and ASF don't store cookies under this domain

SENPAY98K commented 1 year ago

steam now has change its checkout domain to checkout.steampowered.com, and ASF don't store cookies under this domain

So there is no work around it ?

Also i had create it previously with node, but after this change, i could not get it any success for the initialtransaction request to get the transaction id ! do you have any idea as well !

chr233 commented 1 year ago

there is a way to auto login to checkout.steampowered.com, but it takes too much work, currently I cant provide such effort on this project, I have works to do.

SENPAY98K commented 1 year ago

Yes, i am aware of that,tried it and could not get to succeed! always getting null results with success:2!

As you mentioned about ASF storing cookies for domain store , i assume that my fails related to cookies only which im getting correctly! else there should be a specific cookie!

Thanks for the responses :)

chr233 commented 1 year ago

new domain checkout.steampowered.com has its CORS rule, and sessionid doesn't same as store.steampowered.com, same as the help.steampowered.com , these are three different domain

SENPAY98K commented 1 year ago

new domain checkout.steampowered.com has its CORS rule, and sessionid doesn't same as store.steampowered.com, same as the help.steampowered.com , these are three different domain

Oh good to know! as far i know, i checked the browser and i did not see anything different ! else i'm looking at wrong place

chr233 commented 1 year ago

image its seems that the sessionId is common to use

chr233 commented 1 year ago

fixed in 1.8.5.0

SENPAY98K commented 1 year ago

Thanks for the fix! it works fine at the moment. but there a message related to asf web requests, is it safe! image

chr233 commented 1 year ago

https://github.com/JustArchiNET/ArchiSteamFarm/pull/2934

pull requested to ASF,

SENPAY98K commented 1 year ago

JustArchiNET/ArchiSteamFarm#2934

pull requested to ASF,

Thanks for making things clear, I would not do it since ASF does not support issues when using plugins.

chr233 commented 1 year ago

Thanks for the fix! it works fine at the moment. but there a message related to asf web requests, is it safe! image

fix in 1.8.6.1 under ASF 5.4.7.3,and after ASF 5.4.8.0, this is fixed in original ASF

SENPAY98K commented 1 year ago

Thanks for the fix! it works fine at the moment. but there a message related to asf web requests, is it safe! image

fix in 1.8.6.1 under ASF 5.4.7.3,and after ASF 5.4.8.0, this is fixed in original ASF

Noice, well done 😄