Test Environment: Changes do not affect the production environment.

Switch to Test Environment

You are about to enter the test environment. Your changes in this environment will not affect data in the live environment. You can export your data from the test environment.

  • Acme Marketplace
  • Marketplace
  • MyApps
  • Developer
  • Manage
    • Account
    • Reseller
    • Marketplace
    • Corporate
    • Superuser
    • My Profile
    • My Company
    • My Settings
    • Help Center
    • Log out
  • Developer Center
  • Dashboard
  • Products
  • Billing
  • Customers
  • Integration
  • Settings
  • Documentation
  •  Manage Products
  • Sample Application

Edit Sample Application

Sample Application
Product Dashboard
Configure App
50%
Last updated 01/01/2013
Preview
Profile & Branding
Marketplace Listing
Product Profile
3 Features
  • Feature One
  • Feature Two
  • Feature Three
Customers & Media
Support
Resources
Pricing
3 Editions
  • Free
  • Basic
  • Professional
3 Add-on Offerings
  • Add-on Offering One
  • Add-on Offering Two
  • Add-on Offering Three
Shared Features & Footnotes
Integration
Edit Integration
Ping Tests
Events
Accounts
SAML Import
25% Integration Report
Other Settings
Product Settings
Marketplaces

Integration Report

Integration Status

To complete integration, your API endpoint health must be green (if applicable). You can check off steps that you completed manually.

Migrate to the distributed API

All new marketplaces will use the updated API to sell your product. Only a few small changes are ncessary.

Step 1: Make sure your OpenID consumer reads the {openid} parameters

From now on, each AppDirect-powered marketplace will have its own OpenID provider instead of relying on www.appdirect.com. You will need to remove the hardcoded URL of AppDirect's OpenID provider in your consumer and replace it with the {openid} placeholder in your configuration to know which provider to query.

Your consumer should accept:

http://www.example.com/login?openid_identifier={openid}

Step 2: Update your event listener URLs

The events can now be triggered on any AppDirect-powered marketplace. Instead of passing the event {token} , we're now passing the {eventUrl} , so you'll need to update the logic in your event listener accordingly. When receiving a call on one of your event listener URLs, you'll need to:

  • Verify the OAuth signature of the call to validate that it comes from an authorized AppDirect-powered marketplace
  • Read the {eventUrl} (instead of reading the event {token} )
  • Perform a GET to this URL signed with your OAuth credentials
  • Process the event as appropriate
  • Return a valid response to the event notification

Example URL before:

http://www.example.com/foo?token={token}

Example URL after:

http://www.example.com/foo?url={eventUrl}

Step 3: Update the OpenID URLs for your existing users

OpenID data for your current marketplace users must be updated in your product's database.

Update OpenID data via SQL

If you use a SQL-based database, the form below will generate SQL script that will update the OpenID for your existing users. Input the name of the table that stores these OpenIDs and the name of the column in which they are stored, and then execute the SQL on your database.

Generate SQL to update OpenID URLs for exisiting users

Update OpenID data via manual export

Alternatively, you can export the user account information we have collected and manually update their OpenID values:

Step 4: Verify this step

Subscribe to the application

Test the Subscription Order event.

Complete the test:

  1. Purchase your application from your product preview
  2. Complete the buy flow.
  3. Launch the app from the MyApps page.

Upgrade or downgrade editions

Test the Subscription Change event.

Complete the test:

  1. Be sure you have purchased your application.
  2. Go to the "Update Subscription" tab on the Manage Apps page.
  3. Select the desired plan and select "Continue".
  4. Complete the checkout process.

Cancel subscription

Test the Subscription Cancel event.

Complete the test:

  1. Be sure you have purchased your application.
  2. Go to the "Update Subscription" tab on the Manage Apps page.
  3. Click on "Cancel Subscription".

Properly link UI elements within your application

The marketplaces are responsible for handling billing-related events and user management for your application. Please follow the guidelines below to maintain a seamless user experience across all applications on any marketplace:

  1. Link all billing admin sections within your product to {marketplace url}/account/apps
    This includes all upgrade/downgrade/cancel functionality from within your app.
  2. Link all user management sections within your product to {marketplace url}/account/apps
    This includes anywhere you can invite/remove or manage additional user accounts from within your application.
  3. Any logout flows from your product should redirect to the base {marketplace url}

Prepare for API availability monitoring

We will be testing your application continuously for API uptime. Please read through the API documentation to learn how to properly handle our dummy event testing.

Optional Integration Steps

Send metered billing information to invoice customers

Test the Billing Usage API and the Subscription Status event .

Complete the test:

  1. Go to the Edit Editions and Pricing page of your app in the Developer Portal.
  2. For one of your editions set the billing cycle frequency to "Daily."
  3. Wait a day and go to "Invoices" in Account > Manage Billing.
  4. The metered usage items should be rolled in the invoice if the APIs work.
    Don't forget to revert the billing cycle to your desired frequency.
  • Framework
  • Integration Report
  • Powered by AppDirect © 2009–2014
  • Help Center
  • Terms & Conditions
  • Contact
  • Call us toll-free: (877) 404-APPS
    Hide
    4
    1366 × 768
    10.51%
    9
    1024 × 768
    4.02%
    3
    1280 × 800
    11.08%
    1
    1440 × 900
    16.09%
    7
    1600 × 900
    5.59%
    6
    1280 × 1024
    5.77%
    5
    1680 × 1050
    7.48%
    2
    1920 × 1080
    15.99%
    8
    1920 × 1200
    5.39%
    10
    2560 × 1440
    3.23%