| 开发者 | makeanofferpro |
|---|---|
| 更新时间 | 2026年8月17日 22:09 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-json/offerdragon/v1/order) that receives accepted-offer webhooks, verifies their HMAC-SHA256 signature and timestamp, and creates the corresponding order idempotently (the same offer is never turned into two orders).https://makeanofferpro.com), a third-party external service. You must create an account there to obtain a Site Key and Webhook Secret; offer management, counter offers, and payment processing (via Stripe) all happen on that service, not on your WordPress site.
Data flow:
offer.js) directly from the App URL you configure. When a visitor opens the offer modal and submits an offer, their browser sends the offer details — product ID, product name, product price, product URL and image URL (provided by this plugin as button attributes), plus the name, email, shipping address, offer amount, and payment card details they type in — directly to the Make an Offer service and to Stripe (for card authorization). This happens from the visitor's browser; this plugin's PHP code makes no outbound requests to any external service.offerdragon-price-negotiation folder to /wp-content/plugins/, or install via Plugins → Add New, then activate the plugin.mao_pk_...) and Webhook Secret (mao_whsec_...) from its dashboard.https://your-site.com/wp-json/offerdragon/v1/order) and paste it into your Make an Offer dashboard's webhook settings.Sign up at the Make an Offer app (the App URL configured in the plugin settings, e.g. https://makeanofferpro.com). Your Site Key and Webhook Secret are shown in that dashboard's settings after you register your store.
Check that (1) an App URL and Site Key are saved in Settings → Make an Offer, and (2) either "Enable on all products" is checked or the specific product has "Enable Make an Offer" ticked in its General settings. The button is rendered hidden and only revealed once the widget script loads its configuration, so an unreachable App URL or invalid Site Key will also keep it hidden.
Never at submission time. The card is only authorized when the offer is made. It is charged (captured) by the Make an Offer service via Stripe when you accept the offer — or when the shopper accepts your counter offer — and only then is the WooCommerce order created.
The order is created at exactly the amount charged to the customer's card by the Make an Offer service. The plugin does not recalculate taxes or add shipping charges on top; the agreed price is treated as the final total. If you need tax breakdowns, handle pricing accordingly when accepting offers.
The button is shown with the product's minimum variation price as the reference price. The accepted-offer order line references the parent product.
Yes. Every webhook must carry an X-MAO-Signature header containing a timestamp and an HMAC-SHA256 signature computed with your Webhook Secret. Requests with a missing or invalid signature, or a timestamp more than 5 minutes old, are rejected with a 401. Duplicate deliveries of the same offer are detected and never create a second order.
Yes, compatibility is declared and only CRUD APIs are used for orders.