From what I’ve read on the developer’s hub in MarketplaceService is that there doesn’t seem like there is any way to actually Decline a purchase. Inside of the ProcessReceipt callback it will accept two return values. NotProcessedYet and PurchaseGranted. The docs say that if the in game benefit for the dev product could not be granted then you should return NotProcessedYet but the docs also say it will keep running the callback until PurchaseGranted is returned. So doesn’t this mean that if the player is ineligible for that product and you try to decline it the callback will just keep getting spammed until the server returns PurchaseGranted? The docs say that it will continue to run the callback even when the player rejoins the game so you will just be stuck in this infinite loop forever until you grant the purchase. Am I not understanding this correctly? Or is there really no way to decline the purchase
1 Like
Returning Enum.ProductPurchaseDecision.NotProcessedYet
will result in ProcessedReciept being called over and over, but if a Enum.ProductPurchaseDecision.PurchaseGranted
result is not given in 3 days, the user will be refunded.
8 Likes