Connect WooPayments to WhatsApp and AI Chat
Yes. AeroChat works directly with WooCommerce stores that use WooPayments. It creates orders and reads their payments and refunds through WooCommerce’s REST API, and reads the transactions and authorizations behind each order through the WooPayments REST API, on WhatsApp, Instagram, web chat and every other channel your shoppers use.
If your WooCommerce store takes cards and wallets with WooPayments, the payment extension built by WooCommerce, the same questions keep arriving after checkout: send me a link to pay, was I charged, why does my bank show a pending amount, where is my refund. AeroChat answers them from the WooCommerce order and the WooPayments records for it. WooCommerce is a built-in store platform in AeroChat, so your catalog and orders are already connected. See WooCommerce in AeroChat. You describe the workflow in your own words, AeroChat builds it, and WooCommerce stays the place your team checks.
What you can do with WooPayments and AeroChat
- Send a payment link for an order. AeroChat creates the order in WooCommerce as pending payment and sends the link to its payment page. The shopper pays with WooPayments on your store, and the order is marked paid.
- Answer “was I charged?”. AeroChat reads the WooCommerce order and the WooPayments transactions recorded for it, and tells the shopper whether the payment went through, with the amount, date and payment method type.
- Explain a payment that is authorized but not charged yet. If you capture payments later, AeroChat reads the WooPayments authorization for the order and explains that the amount is held, not charged, until the order is confirmed.
- Resend the payment link for an unpaid order. When an order is still pending payment or failed, AeroChat sends the same order’s payment link to try again, so no duplicate order is created.
- Answer “where is my refund?”. AeroChat reads the refunds on the WooCommerce order and whether each one went through WooPayments, and tells the shopper the amount and date.
- Cancel an unpaid order when the hold ends. If you hold stock for a limited time, AeroChat cancels the order in WooCommerce when it is still unpaid at the end, and tells the shopper.
- Pass disputes and refund requests to your team with a note. When a shopper mentions a chargeback or a dispute with their bank, AeroChat adds a private note to the order and hands the conversation over. Disputes stay with your team in WooPayments.
Prefer payments built in? Airwallex is built into AeroChat, so payment links work without an API setup. See how it works.
What it looks like on WhatsApp
Customer: I see US$140 pending on my card for order 9015 but the order isn’t confirmed. Was I charged? (example)
AeroChat: The US$140 is held on your card, not charged yet. We confirm the order and take the payment once we’ve checked stock for your custom size, usually within one business day (example). If we can’t fulfill it, the hold is released.
In WooCommerce and WooPayments: nothing changes. AeroChat read order 9015 (on hold), then the WooPayments authorization for it: US$140, nothing captured yet.
Customer: Can you send me the link again for order 9022? I didn’t finish paying. (example)
AeroChat: Of course. Order 9022 is still waiting for payment. Here’s the link to pay for it on our store: payment link (example). The total is US$58.
In WooCommerce: nothing changes until the shopper pays. Then WooPayments records the payment and order 9022 moves to processing.
Works on every chat channel
Your shoppers message you wherever they already are. The same WooCommerce and WooPayments connection and the same workflows run on each of these channels.
| Channel | What your shoppers can do |
|---|---|
| Message your WhatsApp Business number to order and pay by link, check a payment or ask about a refund. Voice notes are transcribed, so a spoken request works too. | |
| Send the same requests by direct message. A comment on your post can get an automatic reply that moves the conversation to a DM. | |
| Facebook Messenger | Send the same requests to your Facebook Page. Comments on your Page posts can get an automatic reply too. |
| Telegram | Send the same requests to your business on Telegram. |
| Web chat | Ask from the chat on your WooCommerce store, without leaving the page. |
| Write to your Gmail or Office 365 address and get the same answer the chat gives. |
How the connection works
WooPayments is the payment extension built by WooCommerce. It has its own REST API, documented at automattic.github.io/woocommerce-payments, which builds on the WooCommerce REST API, documented at woocommerce.github.io/woocommerce-rest-api-docs. Both use the same WooCommerce REST API key, so there is one key to create. Each workflow uses only what its recipe asks for.
- What AeroChat reads: from WooCommerce, orders with their status, payment method, date paid and order key, and the refunds on each order with whether they went through the gateway. From WooPayments, the transactions recorded for an order with their type, amount, date and payment method type, and the authorizations for an order with the amount held and the amount captured.
- What AeroChat writes: to WooCommerce only. New orders taken in chat, status changes to cancel unpaid orders, and private notes on orders. It does not charge, capture, refund or respond to disputes in WooPayments.
To connect, go to Settings, Advanced, REST API in WooCommerce and add a key with read and write access. Copy the consumer key and consumer secret and enter them in the AeroChat dashboard when AeroChat asks. They never pass through the conversation. You can try the workflows first with WooPayments in test mode.
The payment link is your order’s own payment page on your store, so WooPayments takes the payment and records it on that order. For a guest order it opens without a login. For an order assigned to a registered customer, WooCommerce asks that customer to sign in first.
Workflows to copy
Seven ready-made workflows for WooCommerce stores that use WooPayments. Copy one into AeroChat, add your WooCommerce key, and it runs on every channel.
1. Send a payment link for an order
Copy this into AeroChat
When a customer wants to buy in the chat, confirm the products, options, quantities and delivery address, and read back the total with shipping. Ask for their name and email. Create the order in WooCommerce with status pending payment, then send the link to its payment page with the total. Once the order shows as processing, thank them and confirm the order number. Never ask for card details in the chat. Reply in the customer’s language.
2. Answer “was I charged?”
Copy this into AeroChat
When a customer asks whether their payment went through, verify the order with the order number and email. If the order is processing or completed, confirm the payment, the amount and the date. If not, list the WooPayments transactions for the order. If there is a charge, say the payment is in and the order will update shortly. If there is none, tell them they were not charged and send the order’s payment link. Never share another customer’s order.
3. Explain a payment that is authorized but not charged yet
Copy this into AeroChat
When a customer sees a pending amount for an order that is on hold, read the WooPayments authorization for the order. If nothing has been captured yet, tell them the amount is held on their card, not charged, and that we take the payment when we confirm the order within 1 business day (example). If we cancel the order, say the hold is released. Do not ask them to pay again.
4. Resend the payment link for an unpaid order
Copy this into AeroChat
When a customer asks how to pay for an order, find the order in WooCommerce and check the email matches. If it is pending payment or failed, send the link to the order’s payment page with the total. If it is already paid, say so. If it was canceled, offer to start a new order. Never create a second order for the same items.
5. Answer “where is my refund?”
Copy this into AeroChat
When a customer asks about a refund, verify the order. Read the refunds on the order in WooCommerce. If a refund went through the gateway, tell them the amount and the date, and say card refunds can take 5 to 10 business days (example) to show. If a refund was only recorded in WooCommerce, or there is no refund, do not promise anything and hand the conversation to our team.
6. Cancel an unpaid order when the hold ends
Copy this into AeroChat
When we hold stock for an order taken in chat, tell the customer it is held for 2 hours (example). If the order is still pending payment when the time is up, set it to canceled in WooCommerce, add a private note “Unpaid, canceled in chat”, and tell the customer the hold has ended. Offer a new order if the items are still in stock. Never cancel an order that is paid or on hold.
7. Pass disputes and refund requests to your team with a note
Copy this into AeroChat
When a customer asks for a refund, says they were charged twice, or says they have disputed the charge with their bank, do not promise anything. Verify the order and ask what happened. Add a private note to the order in WooCommerce with the reason and the date. Hand the conversation to our team and tell the customer someone will reply in this chat.
Who uses it
WooCommerce stores that use WooPayments for cards and wallets use these workflows for payments agreed in chat and the questions that follow checkout:
- Payment links in chat for online stores
- Payment links for custom orders
- Refund requests and refund status in chat
What stays in WooCommerce and WooPayments
WooCommerce stays the record of every order and refund, and WooPayments stays the record of every transaction, deposit and dispute. Shoppers pay on your store’s own payment page, so card details go to WooPayments and never to AeroChat. AeroChat does not process or hold any money. Captures, refunds, deposits and dispute responses stay with your team in WooPayments.
AeroChat handles the conversation. It reads what the recipe needs, writes orders and notes in WooCommerce where you set that up, and leaves the rest to your team.
WhatsApp workflows that use WooPayments
These end-to-end WhatsApp workflows run with your WooCommerce store and WooPayments behind them. See them all in the WhatsApp workflows library.
- WhatsApp Payment Links That Confirm the Order When Paid
- WhatsApp Ordering That Writes the Order Into Your System
- WhatsApp Returns and Refunds Checked Against Your Policy
Questions
Does AeroChat work with WooPayments?
Yes. It reads and creates WooCommerce orders through the WooCommerce REST API and reads WooPayments transactions and authorizations through the WooPayments REST API, with one WooCommerce REST API key. AeroChat is not a WooCommerce product, and AeroChat has no partnership with WooCommerce.
Can AeroChat check the status of a dispute?
No. The WooPayments REST API does not document a way to read disputes, so AeroChat passes dispute questions to your team with a note on the order. Your team answers disputes in WooPayments.
Does AeroChat see card numbers?
No. Shoppers pay on your store’s page through WooPayments. AeroChat only reads the order and the transaction records.
Do I need to write any code?
No code is needed. You create one WooCommerce REST API key, paste it in, describe the workflow, and switch it on.
Which plan do I need?
On the WooPayments side, you need WooPayments set up on your store, and its fees apply as usual. On the AeroChat side, workflows via Skills are on every plan, with a 7-day free trial. Choose by message volume: Starter covers 500 AI responses a month, Growth 2,000 and Advanced 5,000. See plans.
Using a different system? If it has a public API, it connects to AeroChat the same way: describe what you want, paste in its key, and it runs.
Can’t find your tool? Message us in the chat on this page and we’ll tell you how it connects.
Related guides
Connect WooPayments to your chat
Add your WooCommerce key, put WooPayments in test mode, and order from your own number with a test card.
Start your 7-day free trial. No credit card needed.
Sign up for an annual plan on Growth or above and we’ll set up your workflows and connect WooCommerce and WooPayments for you, free. See plans.
