Version 0.1
Developed and tested on aMember 3.1.8PRO
Payment plugin for aMember (version 3) that handles receiving the WP App Store's sale postback. Upon receiving a postback, the plugin goes through the following flow:
- Checks API key received against the one saved in aMember configuration
- Checks that the received product SKU exists in aMember
- Looks for an existing member with the received email address
- If no member exists with the received email address, creates a new member account and emails the generated username and password to the received email address
- Adds payment to aMember
- Sends the member an email, confirming that their account has been updated
- Download the latest zip of the plugin and unzip it
- Upload the unzipped wpappstore folder to your aMember /plugins/payment/ folder
- Login to your aMember control panel
- Go to Utilities > Setup/Configuration > Plugins
- Check wpappstore in the list and save
- Click the new WP App Store menu item in the navigation header
- In a new browser tab, login to your WP App Store dashboard
- Copy your API Key
- Switch back to your aMember browser tab
- Paste the copied API key into the WP App Store API Key field
- Set your SKU Vendor Prefix and save
- Make a note to review the rest of the configuration options later
- At the very bottom of the configuration options page, copy Your Postback URL
- Switch back to your WP App Store browser tab
- Go to Edit Publisher
- Paste the copied URL into the Sale Postback URL field and submit
- Once your submission has been reviewed and accepted, you will start receiving sale postbacks to aMember
When adding products to the WP App Store, you will need to specify a SKU for each product. The SKU should be a combination of the SKU Vendor Prefix you set in your aMember configuration and the aMember ID of the product. For example, lets say you're adding a theme to the WP App Store. In aMember, the theme's ID is 214. You've set ACME- as your prefix in your aMember configuration. When adding the theme to WP App Store, you should specify ACME-214 as the SKU. If you've already added themes or plugins to the WP App Store, you will need to update them with the proper SKUs.
- Login to your WP App Store dashboard
- Go to Sale Postback Test
- Scroll to the bottom
- Make sure the Postback URL is correctly set
- Click the Send Request button
- In a new browser tab, login to your aMember control panel
- Go to Utilities > Error/Debug Log
- You should see a message starting with wpappstore ERROR:
- Now you can go back to your WP App Store tab, adjust some of the fields, and try Send Request again
It is likely you have not correctly specified the SKU Vendor Prefix in your aMember configuration, or you have not set the correct SKU for the theme or plugin in WP App Store. Please review the Installation section above for more details about SKUs.
- 0.1 (2012-04-14)
- Initial release.