{"id":416998,"date":"2025-01-04T08:00:00","date_gmt":"2025-01-04T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/mondu-digital-trade-account\/"},"modified":"2025-01-04T23:15:00","modified_gmt":"2025-01-04T23:15:00","slug":"mondu-digital-trade-account","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/mondu-digital-trade-account\/","title":{"rendered":"Mondu Trade Account"},"content":{"rendered":"<p>The Mondu Trade Account \u2013 WooCommerce plugin integrates Mondu\u2019s Digital Trade Account functionality into your WooCommerce store, allowing your customers to apply for and manage trade accounts directly during checkout.<\/p>\n<p><strong>Features:<\/strong><br \/>\n\u2013 <strong>Trade Account Applications<\/strong>: Let customers apply for a trade account while completing their order.<br \/>\n\u2013 <strong>Webhook Integration<\/strong>: Automatically update customer statuses (e.g., accepted, pending, declined) when a customer has applied for a Digital Trade Account.<br \/>\n\u2013 <strong>Custom Styling and Actions<\/strong>: Easily extend and customize the checkout experience with hooks and filters. Allows you to run actions when a buyer has been accepted or declined.<br \/>\n\u2013 <strong>Admin Management Tools<\/strong>: Access customer trade account information, logs, and webhook settings from the WordPress admin panel.<br \/>\n\u2013 <strong>Secure and Compliant<\/strong>: Fully supports WooCommerce standards and uses secure connections for API communication.<\/p>\n<p><strong>Useful Links:<\/strong><br \/>\n\u2013 <a href=\"https:\/\/github.com\/mondu-ai\/bnpl-checkout-woocommerce\" rel=\"nofollow ugc\">Official GitHub Repository<\/a><br \/>\n\u2013 <a href=\"https:\/\/github.com\/mondu-ai\/bnpl-checkout-woocommerce\/blob\/main\/changelog.txt\" rel=\"nofollow ugc\">Changelog<\/a><\/p>\n<h3>Prerequisites<\/h3>\n<p>Before installing and using the Mondu Trade Account \u2013 WooCommerce plugin, ensure your environment meets the following requirements:<\/p>\n<ul>\n<li><strong>WordPress<\/strong>: Requires at least version <code>6.7<\/code><\/li>\n<li><strong>PHP<\/strong>: Requires at least version <code>7.4<\/code><\/li>\n<li><strong>WooCommerce<\/strong>: Requires at least version <code>9.4<\/code><\/li>\n<li><strong>Mondu Plugin<\/strong>: Needs to be installed, tested version <code>3.0.3<\/code><\/li>\n<\/ul>\n<h3>Backwards Compatibility<\/h3>\n<p>This plugin has a direct dependency on the <code>Mondu Plugin<\/code>. Before updating both plugins, always test the new version on a staging environment to ensure compatibility with your customizations, integrations, and WooCommerce setup.<\/p>\n<h3>Buyer States<\/h3>\n<p>There are a total of 6 buyer states that a user can be in. If you are the admin of the WordPress install, you can change these states, but it\u2019s recommended not to.<\/p>\n<p>  State<br \/>\n  Explanation<\/p>\n<p>  <code>unknown<\/code><br \/>\n  The default status, when the customer hasn\u2019t signed up yet.<\/p>\n<p>  <code>applied<\/code><br \/>\n  Customer has tried to apply for a Trade Account, but the webhook hasn\u2019t been triggered.<\/p>\n<p>  <code>accepted<\/code><br \/>\n  Customer has been approved for a Trade Account and should have a buyer limit.<\/p>\n<p>  <code>pending<\/code><br \/>\n  Customer is waiting to hear from Mondu if their account has been accepted (Maximum of 48 hours).<\/p>\n<p>  <code>declined<\/code><br \/>\n  Customer has been flat-out refused credit from Mondu.<\/p>\n<p>  <code>cancelled<\/code><br \/>\n  Customer exited out of the Mondu Trade Application form.<\/p>\n<h3>Sandbox<\/h3>\n<p>If you have sandbox mode set on the <code>Mondu<\/code> plugin, you can test the following states with the email addresses listed below. Note that if an email does not follow this convention, the trade application will fail.<\/p>\n<ul>\n<li><strong><code>Accepted<\/code><\/strong>: accepted.good.{random-string}@example.com<\/li>\n<li><strong><code>Pending<\/code><\/strong>: pending.pending-brc.{random-string}@example.com<\/li>\n<li><strong><code>Declined<\/code><\/strong>: declined.bad.{random-string}@example.com<\/li>\n<\/ul>\n<p>Note that emails are sent via the Mondu internal inbox in sandbox mode. To see them, it\u2019s best to reach out to Mondu.<\/p>\n<h3>Webhooks<\/h3>\n<p>Mondu sends buyer webhooks when a user has applied for a Trade Account. The following payload will be provided via this webhook once buyer onboarding requested is processed. See <a href=\"https:\/\/docs.mondu.ai\/reference\/webhooks-overview\" rel=\"nofollow ugc\">here<\/a> for more details.<\/p>\n<p>If the webhook fails, Mondu will send the webhook in increasing intervals until the <code>WebhookController<\/code> returns an <code>OK<\/code> response. Mondu will send <code>6<\/code> attempts every minute for all <code>buyer<\/code> and <code>order<\/code> topics until the handler responds with an OK status code.<\/p>\n<p><strong>Example Payload<\/strong>:<\/p>\n<pre><code>{\n  \"topic\": \"buyer\/{TOPIC_NAME}\",\n  \"buyer\": {\n    \"uuid\": \"66e8d234-23b5-1125-9592-d7390f20g01c\",\n    \"state\": \"accepted\",\n    \"external_reference_id\": \"DE-1-1000745773\",\n    \"company_name\": \"2023-02-07T15:14:22.301Z\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Smith\"\n  }\n}\n<\/code><\/pre>\n<h3>Copyright<\/h3>\n<p>All rights reserved. This plugin and its code are proprietary to ainsley.dev LTD. Unauthorized copying, distribution, transmission, or storage of this plugin, its code, or content, in whole or in part, in any form or by any means, is strictly prohibited without prior written permission.<\/p>\n<p>This plugin is licensed for use by end-users on their WordPress sites but may not be copied, shared, modified, or redistributed in any form, except with explicit written permission from ainsley.dev LTD.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Integrates Mondu's Digital Trade Account functionality into WooCommerce, enabling customers to apply for trade accounts during checkout.<\/p>\n","protected":false},"author":65,"featured_media":417002,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Mondu Trade Account - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Integrates Mondu's Digital Trade Account functionality into WooCommerce, enabling customers to apply for trade accounts during checkout."},"footnotes":""},"categories":[1],"tags":[461,867,59306,59307,42],"class_list":["post-416998","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-api","tag-checkout","tag-mondu","tag-trade-accounts","tag-woocommerce"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/416998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=416998"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/416998\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/417002"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=416998"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=416998"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=416998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}