MyStorefront Postback for WooCommerce

By roxifrancke

0+ active installationsVersion 1.0.5

Connect WooCommerce stores to the MyStorefront affiliate platform.

Description

MyStorefront Postback for WooCommerce connects your WooCommerce store to MyStorefront, so sales that come from creator links are tracked and the right creator earns commission.

Paste the Webhook URL and Webhook Secret from MyStorefront into the plugin and click Save. Your store connects by itself.

Features include:

  • Tracks sales from MyStorefront creator links
  • Commission on products after discounts, without shipping or tax
  • Refunds take back the right commission automatically
  • Different commission rates for specific products
  • Choose which discount codes work for shoppers from creator links
  • Discount codes stay in sync between MyStorefront and WooCommerce
  • Failed sends are retried automatically
  • Orders Recorded shows every order and refund sent to MyStorefront

Installation

  1. Install and activate WooCommerce.
  2. Install and activate MyStorefront Postback for WooCommerce.
  3. Log in to MyStorefront, open Settings and choose WooCommerce under Store integration.
  4. In WordPress, go to WooCommerce > MyStorefront Postback.
  5. Paste the Webhook URL and Webhook Secret, then click Save Settings. Tracking Status changes to Connected.

FAQ

Does this plugin require WooCommerce?

Yes. WooCommerce must be installed and active.

What version of PHP is required?

PHP 8.0 or later.

Tracking Status says MyStorefront couldn’t reach my store. What do I do?

A security firewall on your hosting (for example BitNinja or Cloudflare) may be blocking MyStorefront. Ask your host to allow requests to /wp-json/mystorefront/v1/ and /?rest_route=/mystorefront/v1/ on your site, then click Save Settings again.

Do I need anything set up on my server?

If your host has switched off WordPress’s built-in scheduler (DISABLE_WP_CRON), ask them to add a real server cron job that runs wp-cron.php every 5 minutes. Without it, orders or coupon changes that fail to send won’t be tried again.

Does my store need https?

Yes. Your store address must start with https:// to connect to MyStorefront.

Screenshots

Changelog

1.0.5

  • Saves the creator who referred the shopper on the order. Coupons now work for the whole of their expiry day. Commission is worked out on products after discounts, without shipping or tax.
  • Brands can choose which discount codes work for shoppers who come from a creator link.
  • Brands can set their own commission rate for specific products.

1.0.4

  • Saving the Webhook URL and Secret now connects the store to MyStorefront automatically.
  • Simpler settings page with one section.
  • Coupon changes are retried when MyStorefront can’t be reached, with a log on the settings page.

1.0.3

  • Coupon changes made in WooCommerce now sync to MyStorefront straight away.
  • Changing a code to unlimited uses in MyStorefront now clears the limit in WooCommerce.
  • Minimum spend set in MyStorefront now applies to the WooCommerce coupon.
  • Failed refund notifications now retry automatically, the same as orders.

1.0.2

  • Deleted discount codes now move to the WooCommerce trash so they can be restored.

1.0.0

  • Initial release.
  • Confirmed compatibility with WordPress 7.1.x.