Closed j4m1ef0rd closed 6 months ago
Hello! The likely reason for the crash is that you need to call GPBilling_QueryProducts
before making any purchases. Although this is the probable cause, the extension could be improved to generate an error log instead of causing a crash. We'll work on addressing this issue. In the meantime, you can avoid the crash by ensuring you call GPBilling_QueryProducts
beforehand.
Yes that worked. I didn't know it was critical that you call GPBilling_QueryProducts
before you can purchase an item. The sample code does not say this at all, the only requirement is that the store is connected. Also the gpb_product_data_response
is empty, so this made me think it was not needed.
if (!GPBilling_IsStoreConnected()) exit;
version 1.0.6 When i try and call
GPBilling_PurchaseProduct
i get this error: