SyncPA – Discord Notifier for SureCart

Description

SyncPA Discord notifier for SureCart is a simple and handy plugin that handles the real-time orders notification for your SureCart store.

Instantly receiving notifications from various order status updates in your Discord channel, allowing you to custom the webhook URL and message color.

Features

SyncPA

  • Send notifications to Discord channel when a new SureCart order is created
  • Send notifications when an order status updated
  • Easy to enable/disable notifications
  • Customizable Discord embed color
  • Customizable webhook URLs
  • Options to show detailed order info
  • I18N ready

SyncPA Pro

  • Manage order status from Dicord channel
  • Create thread per order number

Configuration

  1. Enable Notifications: To enable or disable sending notifications
  2. SureCart API Token: To handle purchase events notifications and the webhooks update feature
  3. Discord Webhook URL: Enter the Discord Webhook URL where notifications will be sent
  4. Discord Embed Color: Set a custom color for the Discord notification embeds to match your preference
  5. Show Detailed Order Info: To enable or disable showing detailed order info
  6. SureCart Webhook Path(Optional): Enable if you have custom SureCart webhook path
  7. Update Webhooks: Able to manual update the Webhooks Events required by SyncPA

For detailed instruction, please visit our plugin page and documentation.

External services

This plugin connects to SureCart API (api.surecart.com) to obtain order information and update webhooks. In this case, it’s needed to send order status notifications to your Discord channel.
It sends the order status information every time when a purchase status is updated. This service is provided by «SureCart»: Terms and Conditions, Privacy Policy.

Author

Steven – Quants Note

Screenshots

  • Plugin settings page – General Settings
  • Plugin settings page – Advanced Settings
  • Example of Discord notifications – Order Created
  • Example of Discord notifications – Order Shipped

Installation

Installation from within WordPress

  1. In your website’s wp-admin, go to Plugins > Add New
  2. Search for SyncPA or Discord Notifier for SureCart
  3. Install and activate the SyncPA - Discord Notifier for SureCart plugin

Manual installation

  1. Upload the entire SyncPA Discord Notifier for SureCart folder to the /wp-content/plugins/ directory
  2. Navigate to the Plugins menu in WordPress
  3. Activate the SyncPA - Discord Notifier for SureCart plugin

After activation

  1. In your wp-admin, go to Settings > SyncPA - Discord Notifier for SureCart
  2. Configure the settings as needed
  3. Enable notifications by switching on Enable Notifications

FAQ

How do I get my SureCart API Token?

  1. Login to your SureCart account
  2. Navigate to the API page
  3. Click + New API Token to generate a new token
  4. Select the token you just created
  5. Copy the Token directly or by clicking the clipboard icon

How do I get a Discord webhook URL?

  1. Open your Discord channel
  2. Click Edit Channel
  3. Go to Integration
  4. Select Webhook
  5. Create a new Webhook or use an existing one. Rename it to indicate it’s for SureCart order notifications
  6. Click Copy Webhook URL, this is URL your’ll need to paste into the plugin

No notification after updating SureCart to new version

After v1.1.0 a logic to update and sync the required Webhooks Events is introduced, when there is version updating happened to SureCart, SyncPA will re-sync the Events automatically.
However, if under any circumstances the process is not triggerred, make sure to visit Setting page > Advanced > Update Webhooks and click the Update Webhooks button.
Check the Instruction for more details.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“SyncPA – Discord Notifier for SureCart” is open source software. The following people have contributed to this plugin.

Contributors

“SyncPA – Discord Notifier for SureCart” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “SyncPA – Discord Notifier for SureCart” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.1.2

  • New: Adding logic to consider partially fulfilled and partially shipped order status
  • New: Adding documentation link
  • New: (Pro) Create thread per each order number, Notification only mode
  • New: (pro) Logic to allow adding tracking info according to fulfillment ids

1.1.1

  • Fix: Update Webhooks logic now take same SureCart shop installed on several sites case into consideration
  • Improvement: Fine tune the Webhooks Events auto-update logic when there is SureCart version update

1.1.0

  • New: Additional logic to update the required Webhooks Events, including an Update Webhooks button
  • New: Introducing Pro features
  • Improvement: Separate General and Advanced settings
  • Improvement: Make notifications translatable
  • Improvement: Remove the redundant handling of embed color
  • Improvement: Remove the error logging option

1.0.1

  • Fix: Few error logs to respect settings
  • Improvement: Hide Discord Webhook URL and SureCart API Token when filled
  • Improvement: Enable Notifications option defaulted to Disabled to avoid confusion
  • Improvement: Adjust the lasting time for transient

1.0.0

  • Initial release