laravel-in-app-purchases icon indicating copy to clipboard operation
laravel-in-app-purchases copied to clipboard

Add support for Google OneTimePurchase events

Open x-sheep opened this issue 3 years ago • 7 comments

Currently only subscription events are supported. My use case requires one-time payments to be validated by the server, but it would be much better if the user didn't have to relaunch the mobile app when a pending payment is completed.

x-sheep avatar Sep 28 '21 11:09 x-sheep

Best we can support events for one-time purchase like Cancel, Refund...

khacnha avatar Oct 11 '21 08:10 khacnha

@x-sheep This is not clear for me. Correct me if I'm wrong, providing a documentation link would be great.

Is the product facade enough for your use case?

imdhemy avatar Oct 16 '21 10:10 imdhemy

@khacnha A great idea, Feel free to submit a PR. You can start from the Google Play Billing package.

imdhemy avatar Oct 16 '21 10:10 imdhemy

The OneTimeProductNotification is documented here:

https://developer.android.com/google/play/billing/integrate#pending https://developer.android.com/google/play/billing/rtdn-reference#one-time

x-sheep avatar Oct 16 '21 10:10 x-sheep

@x-sheep Thank you. Added to the release plan.

imdhemy avatar Oct 16 '21 10:10 imdhemy

This issue is stale because it has been open 60 days with no activity. Remove Stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Oct 17 '22 04:10 github-actions[bot]