Purchase Subscription / Purchase One-Time Item

Blocks Explained

The green purchase block should be handled as a list/array. The purchase object is always item # 1 in the list
Please note that the one-time items and subscription blocks are handled in a similiar manner.
  1. 1.
    a 'hider' is shown. We recommend you use a 'waiting' modal to indicate to users they should not interact
    1. 1.
      This could be a Group with a spinning 'loading' icon in an image component.
  2. 2.
    the purchase is initiated
    1. 1.
      you must pass in a valid Android or Apple item or subscription id to this purple blocks input
  3. 3.
    If an error does occur, the error is passed on to the Server Log​
  4. 4.
    If the transaction is successful and the property purchaseState from object #1 in the (single item list) of purchase objects,
    1. 1.
      send the purchase for verification (iOS) (Android)
    2. 2.
      else, send a server log
  5. 5.
    Hide the hider/waiting modal after verification
​Learn more about the data these blocks return after you created your IAPs, you're ready to start selling them to your users! Using the corresponding productID created above, choose the appropriate block (either Purchase Subscription or Purchase One-Time Item) and connect it to a user action. Purchases should be very straightforward within your app. Make it clear to your users how much they are paying and provide a brief description of the item. You can include more details in your app store item setup. Once you check there wasn't an error, you should verify the purchase (the green block). If your users are purchasing a subscription on Android, you MUST complete the step of verification and acknowledgement to complete the transaction.