Menu

Pay Now Button for eWAY

Pay Now Button for eWAY

The fastest way to start accepting payments with eWAY

Add a shortcode to a page

Pay Now Buttons can be added to any WordPress page or post using a shortcode. A shortcode is a special WordPress tag that you type into a page to add special content to it.

NB: sometimes copying and pasting shortcodes from web pages into the WordPress editor can get strange results. We recommend that you always change the editor to the Text view before adding shortcodes.

Put the WordPress editor in Text view first
Put the WordPress editor in Text view first

Simple donate button

Here’s a very simple donation button. It adds a button with a label that shows the donation amount, and sets the amount to $200.

[paynow_button_eway amount="200" label="Donate #amount#"]

And here’s what that looks like:

Simple donation button
Simple donation button

Pay Invoice button

Here’s a more complex example for accepting invoice payments on your website. It doesn’t set the amount; instead, it turns on some fields so that your customer can enter the amount they’re paying, along with some details that help you reconcile the payment to your invoices.

[paynow_button_eway label="Pay Now #amount#" fields="amount,email,phone,invoiceref,invoicedescription"]

And here’s what that looks like:






You can even try it, with a test card number like 4444333322221111. This one is connected to the eWAY sandbox, so no real charges will be recorded.