com.xd.sdk.payment 0.0.14-alpha → 0.0.16-alpha

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.
@@ -1,32 +1,3 @@
1
1
  fileFormatVersion: 2
2
- guid: b459a850ca4464ed6a7d10b8bb394bdb
3
- PluginImporter:
4
- externalObjects: {}
5
- serializedVersion: 2
6
- iconMap: {}
7
- executionOrder: {}
8
- defineConstraints: []
9
- isPreloaded: 0
10
- isOverridable: 1
11
- isExplicitlyReferenced: 0
12
- validateReferences: 1
13
- platformData:
14
- - first:
15
- Android: Android
16
- second:
17
- enabled: 1
18
- settings: {}
19
- - first:
20
- Any:
21
- second:
22
- enabled: 0
23
- settings: {}
24
- - first:
25
- Editor: Editor
26
- second:
27
- enabled: 0
28
- settings:
29
- DefaultValueInitialized: true
30
- userData:
31
- assetBundleName:
32
- assetBundleVariant:
2
+ guid: 8c17143d8ef7461190fe56b2bd500899
3
+ timeCreated: 1755682524
@@ -1,32 +1,3 @@
1
1
  fileFormatVersion: 2
2
- guid: f22ae1656e2c4342b43b1334e70b1a85
3
- PluginImporter:
4
- externalObjects: {}
5
- serializedVersion: 2
6
- iconMap: {}
7
- executionOrder: {}
8
- defineConstraints: []
9
- isPreloaded: 0
10
- isOverridable: 1
11
- isExplicitlyReferenced: 0
12
- validateReferences: 1
13
- platformData:
14
- - first:
15
- Android: Android
16
- second:
17
- enabled: 1
18
- settings: {}
19
- - first:
20
- Any:
21
- second:
22
- enabled: 0
23
- settings: {}
24
- - first:
25
- Editor: Editor
26
- second:
27
- enabled: 0
28
- settings:
29
- DefaultValueInitialized: true
30
- userData:
31
- assetBundleName:
32
- assetBundleVariant:
2
+ guid: 91896ca3061b408588674ae253c11b38
3
+ timeCreated: 1755682524
@@ -7,4 +7,4 @@
7
7
 
8
8
  #define XDGPayment_VERSION @"7.0.0"
9
9
  #define XDSPayment_VERSION_CODE @"7000000"
10
- // HASH 8bd7e79
10
+ // HASH 5925d9e
@@ -116,7 +116,7 @@ namespace XD.SDK.Payment.Internal.Standalone
116
116
 
117
117
  public void HandlePendingPurchase(XDGPaymentParams paymentParams, Action<XDGOrderInfo, XDGError> callback)
118
118
  {
119
- callback.Invoke(null, new XDGError(ResponseCode.Common.UnavailableService,"该平台不支持"));
119
+ callback.Invoke(null, new XDGError(ResponseCode.Common.UnavailableService, "该平台不支持"));
120
120
  }
121
121
 
122
122
  private async Task<List<XDGRefundDetails>> GetRefunds()
@@ -182,7 +182,8 @@ namespace XD.SDK.Payment.Internal.Standalone
182
182
  AliyunTrack.PaymentStart(paymentParams.ProductId, paymentParams.RoleId);
183
183
  var url = PayModule.GetPayUrl(paymentParams.ServerId, paymentParams.RoleId, paymentParams.ProductId, paymentParams.GameOrderId, "", 0,
184
184
  paymentParams.Extra);
185
- url = Uri.EscapeUriString(url);
185
+ // TODO 不需要二次 Encode
186
+ // url = Uri.EscapeUriString(url);
186
187
  XDGLogger.Debug("支付 pay URL: " + url);
187
188
 
188
189
  if (ConfigModule.IsGlobal)
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "com.xd.sdk.payment",
3
3
  "displayName": "XDGSDK Payment",
4
- "version": "0.0.14-alpha",
4
+ "version": "0.0.16-alpha",
5
5
  "description": "XDGSDK",
6
6
  "unity": "2019.3",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "com.xd.sdk.common": "0.0.14-alpha"
9
+ "com.xd.sdk.common": "0.0.16-alpha"
10
10
  }
11
11
  }