com.xd.sdk.payment 7.2.1-alpha.3 → 7.2.1-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Plugins/Android/libs/XDGBridgePayment_v7_7.3.0.aar +0 -0
- package/Plugins/Android/libs/{XDGPaymentUPPay_7.2.0.aar → XDGPaymentUPPay_7.3.0.aar} +0 -0
- package/Plugins/Android/libs/XDGPayment_7.3.0.aar +0 -0
- package/Plugins/iOS/XDPaymentSDK.framework/Headers/XDGPaymentApi.h.meta +7 -0
- package/Plugins/iOS/XDPaymentSDK.framework/Headers/XDGPaymentVersion.h +1 -1
- package/Plugins/iOS/XDPaymentSDK.framework/Headers/XDPaymentSDK-Swift.h.meta +7 -0
- package/Plugins/iOS/XDPaymentSDK.framework/Modules/XDPaymentSDK.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo.meta +7 -0
- package/Plugins/iOS/XDPaymentSDK.framework/Modules/XDPaymentSDK.swiftmodule/Project.meta +8 -0
- package/Plugins/iOS/XDPaymentSDK.framework/Modules/XDPaymentSDK.swiftmodule/arm64-apple-ios.abi.json.meta +7 -0
- package/Plugins/iOS/XDPaymentSDK.framework/Modules/XDPaymentSDK.swiftmodule/arm64-apple-ios.swiftdoc.meta +7 -0
- package/Plugins/iOS/XDPaymentSDK.framework/Modules/XDPaymentSDK.swiftmodule/arm64-apple-ios.swiftmodule.meta +7 -0
- package/Plugins/iOS/XDPaymentSDK.framework/Modules/XDPaymentSDK.swiftmodule.meta +8 -0
- package/Runtime/Internal/Standalone/AliyunTrack.Payment.cs +2 -2
- package/Runtime/Internal/Standalone/PayModule.cs +5 -5
- package/Runtime/Internal/Standalone/PaymentFeaturesImpl.cs +1 -1
- package/package.json +2 -2
- package/Plugins/Android/libs/XDGBridgePayment_v7_7.2.0.aar +0 -0
- package/Plugins/Android/libs/XDGPayment_7.2.0.aar +0 -0
- /package/Plugins/Android/libs/{XDGBridgePayment_v7_7.2.0.aar.meta → XDGBridgePayment_v7_7.3.0.aar.meta} +0 -0
- /package/Plugins/Android/libs/{XDGPaymentUPPay_7.2.0.aar.meta → XDGPaymentUPPay_7.3.0.aar.meta} +0 -0
- /package/Plugins/Android/libs/{XDGPayment_7.2.0.aar.meta → XDGPayment_7.3.0.aar.meta} +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -67,9 +67,9 @@ namespace XD.SDK.Payment.Internal.Standalone
|
|
|
67
67
|
{
|
|
68
68
|
string eventId = "sdkcharge_order_request";
|
|
69
69
|
Dictionary<string, string> data = GetPaymentModuleCommonProperties(eventId);
|
|
70
|
-
if (
|
|
70
|
+
if (SteamUtils.IsSDKSupported)
|
|
71
71
|
{
|
|
72
|
-
data["pick_country"] =
|
|
72
|
+
data["pick_country"] = SteamUtils.Instance.GetSteamCountry();
|
|
73
73
|
}
|
|
74
74
|
CommonAliyunTrack.LogEventAsync(eventId, data);
|
|
75
75
|
}
|
|
@@ -125,7 +125,7 @@ namespace XD.SDK.Payment.Internal.Standalone
|
|
|
125
125
|
{
|
|
126
126
|
CreateOrderResult createOrderResult = await CreateSteamOrder(productId, serverId, roldId, orderId, ext);
|
|
127
127
|
|
|
128
|
-
string microTxn = await
|
|
128
|
+
string microTxn = await SteamUtils.Instance.GetMicroTxn(createOrderResult.TradeNo);
|
|
129
129
|
AliyunTrack.ReceiveSteamOrder(createOrderResult.TradeNo.ToString());
|
|
130
130
|
await ReportSteamOrder(productId, createOrderResult.TradeNo, microTxn);
|
|
131
131
|
}
|
|
@@ -143,8 +143,8 @@ namespace XD.SDK.Payment.Internal.Standalone
|
|
|
143
143
|
AliyunTrack.CreateOrder();
|
|
144
144
|
try
|
|
145
145
|
{
|
|
146
|
-
string steamId =
|
|
147
|
-
string steamLanguage =
|
|
146
|
+
string steamId = SteamUtils.Instance.GetSteamId();
|
|
147
|
+
string steamLanguage = SteamUtils.Instance.GetSteamLanguage();
|
|
148
148
|
Dictionary<string, object> data = new Dictionary<string, object>
|
|
149
149
|
{
|
|
150
150
|
{ "productId", productId },
|
|
@@ -234,9 +234,9 @@ namespace XD.SDK.Payment.Internal.Standalone
|
|
|
234
234
|
{ "skus", string.Join(",", productIds) }
|
|
235
235
|
};
|
|
236
236
|
var url = XDG_QUERY_PRODUCTS_V2;
|
|
237
|
-
if (
|
|
237
|
+
if (SteamUtils.IsSDKSupported)
|
|
238
238
|
{
|
|
239
|
-
queryParams.Add("steamId",
|
|
239
|
+
queryParams.Add("steamId", SteamUtils.Instance.GetSteamId());
|
|
240
240
|
url = XDG_QUERY_PRODUCTS;
|
|
241
241
|
}
|
|
242
242
|
var response = await XDHttpClient.Client.GetAsync<QueryProductsResponse>(url,
|
|
@@ -82,7 +82,7 @@ namespace XD.SDK.Payment.Internal.Standalone
|
|
|
82
82
|
|
|
83
83
|
try
|
|
84
84
|
{
|
|
85
|
-
if (
|
|
85
|
+
if (SteamUtils.IsSDKSupported)
|
|
86
86
|
{
|
|
87
87
|
await PayModule.PayWithSteam(paymentParams.ProductId, paymentParams.ServerId, paymentParams.RoleId,
|
|
88
88
|
paymentParams.GameOrderId,
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "com.xd.sdk.payment",
|
|
3
3
|
"displayName": "XDGSDK Payment",
|
|
4
|
-
"version": "7.2.1-alpha.
|
|
4
|
+
"version": "7.2.1-alpha.4",
|
|
5
5
|
"description": "XDGSDK",
|
|
6
6
|
"unity": "2019.3",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"com.xd.sdk.common": "7.2.1-alpha.
|
|
9
|
+
"com.xd.sdk.common": "7.2.1-alpha.4"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
/package/Plugins/Android/libs/{XDGPaymentUPPay_7.2.0.aar.meta → XDGPaymentUPPay_7.3.0.aar.meta}
RENAMED
|
File without changes
|
|
File without changes
|