Hello, i trying to create a DONATE button with this code but when i click seccond time on same button - "Unable to buy item, Error response: 7:Item Already Owned"
Where is my mistake?
Where is my mistake?
B4X:
Sub Donate_Click
'manager For Donation
manager.RequestPayment("donate_soccer","inapp", False) 'request purchase with ID "donate_soccer"
End Sub
Sub manager_PurchaseCompleted (Success As Boolean, Product As Purchase)
Log(Product)
Log(Success)
If Success Then
If Product.ProductId = "donate_soccer" Then
ToastMessageShow(langThanksForSupport,True)
End If
End If
End Sub