Connect HitPay Payment Gateway for WooCommerce to WhatsApp and AI Chat
Yes. AeroChat works directly with HitPay Payment Gateway for WooCommerce stores. Your WooCommerce store is built into AeroChat, and HitPay connects through its public API with your own API key. AeroChat creates a HitPay payment link for a WooCommerce order, sends it in the chat, marks the order paid once HitPay shows it as completed, and answers payment and refund questions, on WhatsApp, Instagram, web chat and every other channel your shoppers use.
If your WooCommerce checkout runs on the HitPay Payment Gateway plugin, your shoppers already pay by the methods you switched on in HitPay, such as PayNow, cards or FPX. Shoppers who message you on WhatsApp, Instagram, Messenger, Telegram, web chat or email still ask the same things: can I pay here, did my payment go through, where is my refund. AeroChat answers from both systems. It reads the order in WooCommerce, checks the payment or refund in HitPay, and replies in the same conversation. Customers pay on HitPay’s own checkout, so AeroChat never sees card or bank details and never holds money. You describe the workflow in your own words, AeroChat builds it, and WooCommerce and HitPay stay the places your team checks.
This page covers WooCommerce stores that take payments through the HitPay plugin. For HitPay with any kind of business, see connecting HitPay to WhatsApp and AI chat.
What you can do with HitPay, WooCommerce and AeroChat
- Send a HitPay payment link for a WooCommerce order. When a shopper orders in the chat, AeroChat creates the order in WooCommerce, creates a HitPay payment request for the exact total with the order number as the reference, and sends the link.
- Mark the order paid in WooCommerce. Once HitPay shows the payment request as completed, AeroChat sets the WooCommerce order to processing, adds a note with the HitPay payment and confirms in the chat. The customer never has to tell you they paid.
- Answer “did my payment go through?”. AeroChat reads the order in WooCommerce and checks the HitPay payment request: completed, pending, failed, expired or canceled.
- Send a fresh link when a payment failed or expired. If the HitPay payment request failed or ran out of time, AeroChat creates a new one for the same WooCommerce order.
- Answer “where is my refund?”. AeroChat reads the refunds on the WooCommerce order and the refund status on the HitPay payment, so it also catches refunds your team made in the HitPay dashboard.
- Pass refund requests to your team. AeroChat collects the order number, the items and the reason, adds a note to the WooCommerce order and hands the conversation over. Your team refunds from the WooCommerce order as usual.
What it looks like on WhatsApp
Customer: Can I order 2 boxes of the matcha cookies and pay by PayNow? Delivery to Tampines. (example)
AeroChat: Yes. Two boxes are S$36, plus S$5 delivery to Tampines, S$41 in total. Here’s your HitPay payment link for order #3318. You can choose PayNow on the payment page.
AeroChat: Payment received, thank you. Order #3318 is confirmed and will be delivered on Thursday.
In WooCommerce and HitPay: order #3318 is created and set to processing with a note of the HitPay payment. In HitPay, the payment request for S$41 shows as completed.
Customer: Has my refund for order #3270 gone through? (example)
AeroChat: Yes. HitPay shows a refund of S$18 on your payment for order #3270, made on 4 November. How long it takes to reach your account depends on your bank and payment method.
In WooCommerce and HitPay: nothing changes. AeroChat read the order and the refund on the HitPay payment.
Works on every chat channel
Your shoppers pay and ask about payments wherever they already message you. The same WooCommerce and HitPay connection and the same workflows run on each of these channels.
| Channel | What your customers can do |
|---|---|
| Message your WhatsApp Business number to order and get a HitPay link, check a payment or ask about a refund. Voice notes are transcribed, so a spoken request works too. | |
| Do the same by direct message. A comment on your post can get an automatic reply that moves the conversation to a DM. | |
| Facebook Messenger | Do the same with your Facebook Page. Comments on your Page posts can get an automatic reply too. |
| Telegram | Do the same with your business on Telegram. |
| Web chat | Ask from the chat on your WooCommerce store, right on the checkout or order page. |
| Write to your Gmail or Office 365 address and get the same answer the chat gives. |
How the connection works
There are two parts. Your WooCommerce store is built into AeroChat. The AeroChat WordPress plugin syncs your products, stock, coupons and shipping, and orders connect through WooCommerce’s REST API with a consumer key and secret. See WooCommerce and AeroChat. HitPay connects through its public API, documented at docs.hitpayapp.com. Through it, AeroChat creates payment requests, reads their status and the payments on them, and reads refunds.
- What AeroChat reads: from WooCommerce, the order with its status, total, items, payment method and refunds. From HitPay, payment requests with their status and reference number, the payments on them with their status and refunded amount, and refund details.
- What AeroChat writes: to HitPay, new payment requests with an amount, currency, the order number as the reference and an expiry. To WooCommerce, new orders taken in chat, the order status once paid, and order notes.
The HitPay Payment Gateway plugin keeps doing its job at your checkout. It shows the payment methods you choose in HitPay and lets your team refund from the WooCommerce order with the Refund via HitPay button. HitPay’s own guide notes that a refund made in the HitPay dashboard does not update the WooCommerce order, which is why AeroChat checks both before it answers.
To connect HitPay, log in to your HitPay dashboard, open Developers, then API and Salt Keys, and copy the API key and salt your plugin uses, so payments from the chat and from your checkout sit together in HitPay. If the checklist shows a webhook address, add it in HitPay under Developers, Webhook Endpoints. HitPay has a sandbox, so test with sandbox keys first.
You describe the workflow in your own words, for example “when a shopper orders in chat, create the WooCommerce order, send a HitPay link for the total and mark it paid once HitPay shows it as completed”. AeroChat builds the workflow as a draft and asks for the WooCommerce and HitPay keys by name. You enter them in the AeroChat dashboard. They never pass through the conversation.
Payments go to your own HitPay account under your HitPay terms. AeroChat does not process or hold any money.
Workflows to copy
Six ready-made workflows for WooCommerce stores on HitPay. Copy one into AeroChat, add your keys, and it runs on every channel.
1. Send a HitPay payment link for a WooCommerce order
Copy this into AeroChat
When a shopper wants to buy in the chat, confirm the products, variants, quantities and delivery address, and quote the total with shipping from WooCommerce. Ask them to confirm. Create the order in WooCommerce with status pending payment. Create a HitPay payment request for the order total in the order currency, with the WooCommerce order number as the reference number, set to expire after 24 hours (example). Send the link in the chat with the amount. Never ask for card or bank details in the chat. Reply in the customer’s language.
2. Mark the order paid in WooCommerce
Copy this into AeroChat
After you send a HitPay payment link, wait for HitPay to show the payment request as completed. When it is completed, set the WooCommerce order to processing and add the order note “Paid in chat by HitPay” with the HitPay payment request ID. Then thank the customer and confirm the order number, the items and when it will ship. If the request expires unpaid, leave the order as pending payment and tell the customer you can send a new link.
3. Answer “did my payment go through?”
Copy this into AeroChat
When a customer asks whether their payment went through, ask for their order number and check that the email or phone number on the WooCommerce order matches them. Read the order’s status. Find the HitPay payment request for that order and read its status. If it is completed, confirm the amount and the date. If it is pending, tell them it has not been paid yet and resend the link if it is still valid. If it failed, expired or was canceled, tell them they were not charged and offer a new link. Never share another customer’s order.
4. Send a fresh link when a payment failed or expired
Copy this into AeroChat
When a customer says their payment did not work, find the WooCommerce order and check the HitPay payment request. If it failed, expired or was canceled, and the order is still pending payment, create a new HitPay payment request for the same total with the same order number as the reference, and send it. Suggest another payment method if the first one failed. If it fails twice more, hand the conversation to our team with the order number and what HitPay shows.
5. Answer “where is my refund?”
Copy this into AeroChat
When a customer asks about a refund, ask for their order number and check that the email or phone number on the WooCommerce order matches them. Read the refunds on the order. Then read the HitPay payment for that order and check whether it shows as refunded or partially refunded, with the amount. Tell them the amount, the date and the status. If neither shows a refund, tell them no refund has been issued yet and offer to pass their request to our team. Explain that the time to reach their account depends on their bank and payment method. Never promise a date.
6. Pass refund requests to your team
Copy this into AeroChat
When a customer asks for a refund, find their WooCommerce order and confirm which items they mean and why. Check our returns policy in the knowledge base and tell them what it says. Add an order note in WooCommerce with the items, the reason and the date of the request, and hand the conversation to our team. Do not issue refunds yourself and do not promise one.
Who uses it
WooCommerce stores that take PayNow, FPX, cards and other local methods through HitPay use it for orders, payment questions and refund questions that arrive in chat. These recipes fit a WooCommerce store:
What stays in WooCommerce and HitPay
WooCommerce stays your record of orders, stock and refunds, and your team packs, ships and refunds from it the same way. HitPay stays your record of payments, refunds and payouts. Customers pay on HitPay’s checkout, so their payment details go to HitPay and never to AeroChat.
AeroChat handles the conversation. It creates the payment requests and orders your recipe asks for, reads payments and refunds to answer customers, and leaves the rest to WooCommerce, HitPay and your team.
WhatsApp workflows that use HitPay
These end-to-end WhatsApp workflows run with WooCommerce and HitPay 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
Questions
Does AeroChat work with HitPay Payment Gateway for WooCommerce?
Yes. Your WooCommerce store is built into AeroChat, and HitPay connects through its public API with the API key from your HitPay dashboard. AeroChat is not a HitPay product, and AeroChat has no partnership with HitPay.
Do I need to change my HitPay plugin settings?
No. The plugin keeps running your checkout. AeroChat uses the same HitPay account through the API, so payments from the chat and from your checkout end up in the same place.
Does AeroChat see card numbers or hold my money?
No. Customers pay on HitPay’s checkout, so AeroChat never sees card numbers or bank logins and never holds your funds. The money goes to your HitPay account.
Which plan do I need?
On the HitPay side, a HitPay account and its API key. HitPay’s fees are charged to that account. On the AeroChat side, payment links are included from the Growth plan, with a 7-day free trial. Growth covers 2,000 AI responses a month 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
Take your first HitPay payment in chat
Connect your WooCommerce store, paste the payment link recipe, add your HitPay sandbox key, and buy something from your own number.
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 HitPay for you, free. See plans.
