Get started  
Login  

Help Center

Community / Forum Ask Zappter Support We build your app Marketplace

Documentation

English

General

Videos

Mastering the content editor Pixel perfect design Setup your E-Commerce Store Configure your booking engine Event-System / Drop-In

Popular

App Store Submission Creating Push Notifications Typography Changing template Changing Rules

Business Modules

New

More Tutorials

Documentation

Setup Webhooks

Setup your webhooks to notify the app about purchases and unlock content correctly.

To enable automatic updates of entitlements based on user subscriptions, you must setup webhooks. The webhooks will be sent to Zappter and update the user subscription status whenever there is an automatic prolongation or the user decides to cancel the subscription.

Obtaining your webhook url

To obtain the webhook link that can be used for both App Store Connect and Google Play Console, follow these steps:

1. Go to Zappter and navigate to In-App Purchases > Management > Subscriptions. Then click on "Webhook URL":

image.png 501.86 KB


2. A popup will appear with your personal webhook link. Copy the link and follow the steps below to configure the webhook in the Apple App Store Connect and Google Play Store.

image.png 4.67 MB

Webhook Apple App Store Connect

1. Log in to your App Store Connect account: https://appstoreconnect.apple.com/

2. Click on "My Apps" and select your app

3. Click on "App Information" then scroll down to the "App Store Server Notifications" section. Click on "Set Up URL" under "Production Server URL":

image.png 454.45 KB


4. Enter the URL that you have copied before and click on "Save"

image.png 553.9 KB


That's it! Your webhook for the Apple App Store is now set up.

Webhook Google Play Store

1. Log in to your Google Cloud account: https://console.cloud.google.com/

2. Select the project associated with your app. Then search for "Pub/Sub" in the top search bar and click on the first search result.

image.png 626.96 KB


3. Click on "Create topic" at the top of the page

image.png 455.36 KB


4. Set the ID for your topic and leave all other fields unchanged. Click on "Create topic".

image.png 439.78 KB


5. Click on the three dots on the right side, then click on "View permissions"

image.png 620.08 KB


6. Click on "Add Principal" on the right side

image.png 601.52 KB


7. In the field "New principals" enter the following: google-play-developer-notifications@system.gserviceaccount.com - Once entered, select the it from the suggested dropdown value under the field. In the "Role" field, search for "Pub/Sub Publisher" and select it. Confirm this step by clicking on "Save".

image.png 608.58 KB


8. Click below on the new subscription created

image.png 661.67 KB


9. Click "Edit" at the top of the page.

image.png 906.18 KB


10. Change to "Push" under "Delivery type" and enter the webhook URL that you have previously copied from Zappter

image.png 657.61 KB


11. Scroll down and click on "Update"

image.png 654.13 KB


12. Copy the topic name, you will need to paste it now in the next steps

image.png 869.63 KB


13. Log in to your Google Play Console account: https://play.google.com/console/developers and select your app

14. Go to "Monetization setup" under "Monetize" from the left sidebar menu. In the "Google Play Billing" section, under "Real-time developer notifications", provide the topic name that you have copied before:

image.png 770.83 KB


15. Click on "Save changes".

That's it! Your webhook for the Google Play Console is now set up.
Last updated at 03.11.2023 11:29