How to Use WooCommerce Online Payments in POS
Many store owners already have payment gateways configured in WooCommerce for their website and ask whether the same methods can be used at the POS counter. They can, but the way payment happens in a physical store is different from an online checkout. This article explains that difference and the two ways OpenPOS lets you use your WooCommerce payment methods: as offline payment methods recorded by staff, or as real online payments completed by the customer on their own phone.
Why online and in-store payment work differently
- On the website, the customer pays on their own device and enters their own credit card details. The card information never passes through your staff, which keeps it secure.
- In a POS store, payment is done on the store’s computer or tablet. The customer does not interact with that device; the payment is handled by your staff. Letting staff type a customer’s credit card details into a web form is a serious security risk, which is why physical stores usually use a card terminal or scanning device instead.
Because of this, OpenPOS offers two ways to use WooCommerce payment providers, described below.
Before you start: enable the gateway in WooCommerce
Both options use payment methods that already exist in WooCommerce. If the method you want is not set up yet, go to WooCommerce > Settings > Payments, enable it and complete its settings as described by the gateway provider. Test it once on your website checkout before using it at the counter.
Option 1: Offline payment (recorded by staff)
With this option the POS only records which payment method was used. The actual payment is taken by your staff outside the POS, for example on a separate card machine.
- In the WordPress admin go to admin/pos/setting/payment.
- Choose the WooCommerce payment methods you want to make available on the POS and save the settings.
- At checkout on the POS, the cashier selects that payment method. The POS notes the method on the order.
- The staff member completes the payment (for example on the card machine) and finishes the order on the POS.
Option 2: Online payment with the add-on (paid on the customer’s phone)
With this option the customer pays through your website’s online payment method, on their own phone, while standing at the counter. Card details are entered by the customer, not by your staff.
- Install the add-on: https://wpos.app/addons/woocommerce-openpos-online-payment/. Upload it under Plugins > Add New > Upload Plugin and activate it.
- Go to admin/pos/setting/addons and choose the methods you want to allow for checkout by the online website. Save the settings.
- When a customer wants to pay with a website method, the staff member selects the “pay by website” payment method on the POS. A QR code is generated.
- The customer scans the QR code with their own phone and continues the payment on their phone.
- When the customer has finished, they tell the staff member.
- The staff member checks the payment. If the status is “paid”, hand the items to the customer; the payment is done.
Notes
- Always confirm the “paid” status before handing over the goods. A customer closing the payment page on their phone does not mean the payment went through.
- Offline payment does not charge the customer. With option 1 the POS only records the method name, so your staff must make sure the money is actually received.
- Test before going live. Use your gateway’s test or sandbox mode (if it has one) to run a full order with both options before using them with real customers.
- Card terminals. OpenPOS supports split and mixed payments, and terminals such as Stripe Terminal, Square, Authorize.net, BlockChyp and Clearent are supported out of the box or through companion plugins. See the add-on list.
- Other payment providers. If you want to integrate your own payment method (with a terminal and an API document that supports web-based integration), you can consider hiring us to build it as a customization service.
Troubleshooting
- The method does not appear on the POS. Check that it is enabled in WooCommerce > Settings > Payments and selected in admin/pos/setting/payment (option 1) or admin/pos/setting/addons (option 2). Log out of the POS and log in again after changing settings.
- “Pay by website” is missing. Make sure the online payment add-on is installed and activated in Plugins.
- The customer paid but the status is not “paid”. Check the order in WooCommerce > Orders and in your payment provider’s dashboard before handing over the goods.