{"id":210376,"date":"2024-11-12T12:51:27","date_gmt":"2024-11-12T12:51:27","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/syncpa-discord-notifier-for-surecart\/"},"modified":"2025-10-07T15:41:34","modified_gmt":"2025-10-07T15:41:34","slug":"syncpa-discord-notifier-for-surecart","status":"publish","type":"plugin","link":"https:\/\/he.wordpress.org\/plugins\/syncpa-discord-notifier-for-surecart\/","author":23165234,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.0","stable_tag":"1.2.0","tested":"6.8.5","requires":"6.2","requires_php":"","requires_plugins":null,"header_name":"SyncPA - Discord Notifier for SureCart","header_author":"Quants Note","header_description":"Discord notifier for SureCart handles the real-time orders notification for your WordPress site, just like your personal assistant.","assets_banners_color":"484848","last_updated":"2025-10-07 15:41:34","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/buymeacoffee.com\/steven.quantsnote","header_plugin_uri":"","header_author_uri":"https:\/\/www.quantsnote.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1036,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"steventseng","date":"2024-11-12 13:04:33"},"1.0.1":{"tag":"1.0.1","author":"steventseng","date":"2024-11-18 09:54:56"},"1.1.0":{"tag":"1.1.0","author":"steventseng","date":"2024-12-19 17:08:37"},"1.1.1":{"tag":"1.1.1","author":"steventseng","date":"2024-12-21 11:15:58"},"1.1.2":{"tag":"1.1.2","author":"steventseng","date":"2025-01-08 14:17:03"},"1.1.3":{"tag":"1.1.3","author":"steventseng","date":"2025-01-15 15:01:41"},"1.2.0":{"tag":"1.2.0","author":"steventseng","date":"2025-10-07 15:41:34"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-256x256.gif":{"filename":"icon-256x256.gif","revision":3186509,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3186509,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3186509,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.1.0","1.1.1","1.1.2","1.1.3","1.2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3210637,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3210637,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3210637,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3210637,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Plugin settings page - General Settings","2":"Plugin settings page - Advanced Settings","3":"Example of Discord notifications - Order Created","4":"Example of Discord notifications - Order Shipped"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[23972,1159,6077,1896,218637],"plugin_category":[],"plugin_contributors":[234472,234471],"plugin_business_model":[],"class_list":["post-210376","plugin","type-plugin","status-publish","hentry","plugin_tags-discord","plugin_tags-notification","plugin_tags-notifier","plugin_tags-order","plugin_tags-surecart","plugin_contributors-fengyintseng","plugin_contributors-steventseng","plugin_committers-steventseng"],"banners":{"banner":"https:\/\/ps.w.org\/syncpa-discord-notifier-for-surecart\/assets\/banner-772x250.png?rev=3186509","banner_2x":"https:\/\/ps.w.org\/syncpa-discord-notifier-for-surecart\/assets\/banner-1544x500.png?rev=3186509","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/syncpa-discord-notifier-for-surecart\/assets\/icon-256x256.gif?rev=3186509","icon_2x":"https:\/\/ps.w.org\/syncpa-discord-notifier-for-surecart\/assets\/icon-256x256.gif?rev=3186509","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/syncpa-discord-notifier-for-surecart\/assets\/screenshot-1.png?rev=3210637","caption":"Plugin settings page - General Settings"},{"src":"https:\/\/ps.w.org\/syncpa-discord-notifier-for-surecart\/assets\/screenshot-2.png?rev=3210637","caption":"Plugin settings page - Advanced Settings"},{"src":"https:\/\/ps.w.org\/syncpa-discord-notifier-for-surecart\/assets\/screenshot-3.png?rev=3210637","caption":"Example of Discord notifications - Order Created"},{"src":"https:\/\/ps.w.org\/syncpa-discord-notifier-for-surecart\/assets\/screenshot-4.png?rev=3210637","caption":"Example of Discord notifications - Order Shipped"}],"raw_content":"<!--section=description-->\n<p>SyncPA Discord notifier for SureCart is a simple and handy plugin that handles the real-time orders notification for your SureCart store.<\/p>\n\n<p>Instantly receiving notifications from various order status updates in your Discord channel, allowing you to custom the webhook URL and message color.<\/p>\n\n<ul>\n<li><a href=\"https:\/\/www.quantsnote.com\/syncpa-docs\">Full Documentation<\/a><\/li>\n<\/ul>\n\n<h3>Features<\/h3>\n\n<h4>SyncPA<\/h4>\n\n<ul>\n<li>Send notifications to Discord channel when a new SureCart order is created<\/li>\n<li>Send notifications when an order status updated<\/li>\n<li>Easy to enable\/disable notifications<\/li>\n<li>Customizable Discord embed color<\/li>\n<li>Customizable webhook URLs<\/li>\n<li>Options to show detailed order info<\/li>\n<li>I18N ready<\/li>\n<\/ul>\n\n<h4>SyncPA Pro<\/h4>\n\n<ul>\n<li>Manage order status from Dicord channel<\/li>\n<li>Create thread per order number<\/li>\n<\/ul>\n\n<h3>Configuration<\/h3>\n\n<ol>\n<li><strong>Enable Notifications<\/strong>: To enable or disable sending notifications<\/li>\n<li><strong>SureCart API Token<\/strong>: To handle purchase events notifications and the webhooks update feature<\/li>\n<li><strong>Discord Webhook URL<\/strong>: Enter the Discord Webhook URL where notifications will be sent<\/li>\n<li><strong>Discord Embed Color<\/strong>: Set a custom color for the Discord notification embeds to match your preference<\/li>\n<li><strong>Show Detailed Order Info<\/strong>: To enable or disable showing detailed order info<\/li>\n<li><strong>SureCart Webhook Path<\/strong>(Optional): Enable if you have custom SureCart webhook path<\/li>\n<li><strong>Update Webhooks<\/strong>: Able to manual update the Webhooks Events required by SyncPA<\/li>\n<\/ol>\n\n<p>For detailed instruction, please visit our <a href=\"https:\/\/www.quantsnote.com\/syncpa-discord-notifier-for-surecart\/\">plugin page<\/a> and <a href=\"https:\/\/www.quantsnote.com\/syncpa-docs\">documentation<\/a>.<\/p>\n\n<h3>External services<\/h3>\n\n<p>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.\nIt sends the order status information every time when a purchase status is updated. This service is provided by \"SureCart\": <a href=\"https:\/\/surecart.com\/terms-and-conditions\/\">Terms and Conditions<\/a>, <a href=\"https:\/\/surecart.com\/privacy-policy\/\">Privacy Policy<\/a>.<\/p>\n\n<h3>Author<\/h3>\n\n<p><a href=\"https:\/\/www.quantsnote.com\/\">Steven - Quants Note<\/a><\/p>\n\n<!--section=installation-->\n<h4>Installation from within WordPress<\/h4>\n\n<ol>\n<li>In your website\u2019s wp-admin, go to <code>Plugins &gt; Add New<\/code><\/li>\n<li>Search for <code>SyncPA<\/code> or <code>Discord Notifier for SureCart<\/code><\/li>\n<li>Install and activate the <code>SyncPA - Discord Notifier for SureCart<\/code> plugin<\/li>\n<\/ol>\n\n<h4>Manual installation<\/h4>\n\n<ol>\n<li>Upload the entire <code>SyncPA Discord Notifier for SureCart<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Navigate to the <code>Plugins<\/code> menu in WordPress<\/li>\n<li>Activate the <code>SyncPA - Discord Notifier for SureCart<\/code> plugin<\/li>\n<\/ol>\n\n<h4>After activation<\/h4>\n\n<ol>\n<li>In your wp-admin, go to <code>Settings &gt; SyncPA - Discord Notifier for SureCart<\/code><\/li>\n<li>Configure the settings as needed<\/li>\n<li>Enable notifications by switching on <strong>Enable Notifications<\/strong><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20get%20my%20surecart%20api%20token%3F'><h3>How do I get my SureCart API Token?<\/h3><\/dt>\n<dd><ol>\n<li>Login to your SureCart account<\/li>\n<li>Navigate to the <strong>API<\/strong> page<\/li>\n<li>Click <strong>+ New API Token<\/strong> to generate a new token<\/li>\n<li>Select the token you just created<\/li>\n<li>Copy the Token directly or by clicking the clipboard icon<\/li>\n<\/ol><\/dd>\n<dt id='how%20do%20i%20get%20a%20discord%20webhook%20url%3F'><h3>How do I get a Discord webhook URL?<\/h3><\/dt>\n<dd><ol>\n<li>Open your Discord channel<\/li>\n<li>Click <strong>Edit Channel<\/strong><\/li>\n<li>Go to <strong>Integration<\/strong><\/li>\n<li>Select <strong>Webhook<\/strong><\/li>\n<li>Create a new Webhook or use an existing one. Rename it to indicate it\u2019s for SureCart order notifications<\/li>\n<li>Click <strong>Copy Webhook URL<\/strong>, this is URL your\u2019ll need to paste into the plugin<\/li>\n<\/ol><\/dd>\n<dt id='no%20notification%20after%20updating%20surecart%20to%20new%20version'><h3>No notification after updating SureCart to new version<\/h3><\/dt>\n<dd><p>After v1.1.0 a logic to update and sync the required <strong>Webhooks Events<\/strong> is introduced, when there is version updating happened to SureCart, SyncPA will re-sync the Events automatically.\nHowever, if under any circumstances the process is not triggered, make sure to visit Setting page &gt; Advanced &gt; Update Webhooks and click the <code>Update Webhooks<\/code> button.\nCheck the <a href=\"https:\/\/www.quantsnote.com\/syncpa-discord-notifier-for-surecart\/#surecart-webhook-path\">Instruction<\/a> for more details.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.0 - 8th October 2025<\/h4>\n\n<ul>\n<li>New: Scheduled cleanup to purge old keys<\/li>\n<li>New: (Pro) Idempotency for <code>order.created<\/code><\/li>\n<li>Fix: Ensured the short \"PAID\" message appears once after \"CREATED\" in fast sequences<\/li>\n<li>Fix: Added CSRF protection to the \"Update Webhooks\" admin action and clearer error handling<\/li>\n<li>Fix: (Pro) Prevented rare cases where a single order opened two Discord threads<\/li>\n<li>Fix: (Pro) Stopped duplicate \"Order \u2026 \u2013 CREATED\" messages inside the same thread<\/li>\n<li>Improvement: Added a uniform HTTP timeout for Discord requests to reduce retry-induced duplicates<\/li>\n<li>Improvement: Retired the old I18N logic, it's natively supported in WordPress core.<\/li>\n<\/ul>\n\n<h4>1.1.3 - 15th January 2025<\/h4>\n\n<ul>\n<li>New: Translation strings<\/li>\n<li>New: (Pro) Order-to-Shipment Period logic<\/li>\n<li>Fix: Fine tune Show Detailed Order Info logic for Order Paid events<\/li>\n<\/ul>\n\n<h4>1.1.2 - 8th January 2025<\/h4>\n\n<ul>\n<li>New: Adding logic to consider partially fulfilled and partially shipped order status<\/li>\n<li>New: Adding documentation link<\/li>\n<li>New: (Pro) Create thread per each order number, Notification only mode<\/li>\n<li>New: (pro) Logic to allow adding tracking info according to fulfillment ids<\/li>\n<\/ul>\n\n<h4>1.1.1 - 21st December 2024<\/h4>\n\n<ul>\n<li>Fix: Update Webhooks logic now take same SureCart shop installed on several sites case into consideration<\/li>\n<li>Improvement: Fine tune the Webhooks Events auto-update logic when there is SureCart version update<\/li>\n<\/ul>\n\n<h4>1.1.0 - 19th December 2024<\/h4>\n\n<ul>\n<li>New: Additional logic to update the required Webhooks Events, including an Update Webhooks button<\/li>\n<li>New: Introducing Pro features<\/li>\n<li>Improvement: Separate General and Advanced settings<\/li>\n<li>Improvement: Make notifications translatable<\/li>\n<li>Improvement: Remove the redundant handling of embed color<\/li>\n<li>Improvement: Remove the error logging option<\/li>\n<\/ul>\n\n<h4>1.0.1 - 12nd November 2024<\/h4>\n\n<ul>\n<li>Fix: Few error logs to respect settings<\/li>\n<li>Improvement: Hide Discord Webhook URL and SureCart API Token when filled<\/li>\n<li>Improvement: Enable Notifications option defaulted to Disabled to avoid confusion<\/li>\n<li>Improvement: Adjust the lasting time for transient<\/li>\n<\/ul>\n\n<h4>1.0.0 - 12nd November 2024<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"SyncPA - Discord Notifier for SureCart handles the real-time orders notification for your SureCart store, just like your personal assistant.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/210376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=210376"}],"author":[{"embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/steventseng"}],"wp:attachment":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=210376"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=210376"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=210376"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=210376"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=210376"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=210376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}