@@ -180,7 +180,7 @@ InAppBilling.consumePurchase('android.test.purchased').then(...);
180180 * **receiptData:** String
181181
182182```javascript
183- InAppBilling.subscribe ('android .test .purchased ')
183+ InAppBilling.subscribe ('android .test .subscription ')
184184.then ((details ) => {
185185 console. log(details)
186186});
@@ -194,7 +194,7 @@ InAppBilling.subscribe('android.test.purchased')
194194* **subscribed:** Boolean
195195
196196```javascript
197- InAppBilling.isSubscribed ('android .test .purchased ').then (...);
197+ InAppBilling.isSubscribed ('android .test .subscription ').then (...);
198198```
199199
200200### isPurchased (productId )
@@ -281,3 +281,45 @@ InAppBilling.getSubscriptionDetails('android.test.subscription').then(...);
281281```javascript
282282InAppBilling.getSubscriptionDetailsArray (['android .test .subscription ', 'android .test .subscription2 ']).then (...);
283283```
284+
285+ ### getPurchaseTransactionDetails (productId )
286+ ##### Parameter (s )
287+ * **productId (required ):** String
288+
289+ ##### Returns:
290+ * **transactionDetails:** Object:
291+ * **productId:** String
292+ * **orderId:** String
293+ * **purchaseToken:** String
294+ * **purchaseTime:** String
295+ * **purchaseState:** String
296+ * **receiptSignature:** String
297+ * **receiptData:** String
298+
299+ ```javascript
300+ InAppBilling.getPurchaseTransactionDetails ('android .test .purchased ')
301+ .then ((details ) => {
302+ console. log(details)
303+ });
304+ ```
305+
306+ ### getSubscriptionTransactionDetails (productId )
307+ ##### Parameter (s )
308+ * **productId (required ):** String
309+
310+ ##### Returns:
311+ * **transactionDetails:** Object:
312+ * **productId:** String
313+ * **orderId:** String
314+ * **purchaseToken:** String
315+ * **purchaseTime:** String
316+ * **purchaseState:** String
317+ * **receiptSignature:** String
318+ * **receiptData:** String
319+
320+ ```javascript
321+ InAppBilling.getSubscriptionTransactionDetails ('android .test .subscription ')
322+ .then ((details ) => {
323+ console. log(details)
324+ });
325+ ```
0 commit comments