aaronk Well-Known Member Licensed User Longtime User Jul 1, 2017 #1 Hi, I am using inAppBilling3, when using Requesting payments (manage.RequestPayment(item,value) what is the value used for ? I am guessing I can pass anything as the value, but is there a way in getting this value later on ?
Hi, I am using inAppBilling3, when using Requesting payments (manage.RequestPayment(item,value) what is the value used for ? I am guessing I can pass anything as the value, but is there a way in getting this value later on ?
Misterbates Active Member Licensed User Jul 1, 2017 #2 The value is a developer payload that is passed back in the purchase completed event. Upvote 0
aaronk Well-Known Member Licensed User Longtime User Jul 1, 2017 #3 I just tried: Code: Sub manager_PurchaseCompleted (Success As Boolean, Product As Purchase) If Success Then Log("Product.DeveloperPayload = " & Product.DeveloperPayload) End If End Sub It then logs the following after making the payment: Product.DeveloperPayload = I guess I am doing it wrong since it's returning nothing or maybe this isn't how to get this value ? Upvote 0
I just tried: Code: Sub manager_PurchaseCompleted (Success As Boolean, Product As Purchase) If Success Then Log("Product.DeveloperPayload = " & Product.DeveloperPayload) End If End Sub It then logs the following after making the payment: Product.DeveloperPayload = I guess I am doing it wrong since it's returning nothing or maybe this isn't how to get this value ?
Misterbates Active Member Licensed User Jul 1, 2017 #4 RequestPayment has three arguments - the SKU, a product type ("inapp" or "subs") and a developer payload. Upvote 0
RequestPayment has three arguments - the SKU, a product type ("inapp" or "subs") and a developer payload.