Saasu and PayWay Credit Card Payment integration

Paying for services or goods by credit card online via web payment gateway is a standard method for many years.  Saasuthemes.com have successfully implemented custom “Pay now” button to use  WestPac’s online PayWay credit card payment solution for business owners. Simple yet elegant solution to pay Saasu issued invoices via PayWay credit card payment gateway.

Integration is pretty simple, all you need to know is your Biller Code, which identifies your business entity  and makes sure that money are transferred to your account. The rest is matter of copy paste of information provided at the end of the article into your Saasu invoice template.

First step is assumption that you use Saasu and PayWay. Step two is assumption that you have enabled PayWay Net payment solution in your PayWay account. From your PayWay account you will need to retrieve your BillerCode. This is required for PayWay credit card payments from Saasu PDF invoice or Saasu issued invoice emails.

After retrieving your BillerCode from your PayWay account, everything else is done in your account at Saasu system.

Images below are taken from Sassu account and are used for illustration purposes.

Log into Saasu, and select the ‘1. View’ menu then click ‘2. Templates’ and you get list of the Invoice templates.

Step1

Saasu menu

Choose the one you’d like to use for invoicing, for example Standard inc tax.

Template List

Saaasu template list

Enable HTML (1)

Add <br> to the Sender Details area to force each onto it’s own line (2)

Copy/Paste the HTML from the bottom of this article into ‘Payment, notes and other information’. (3)

Upload Paynow graphic button – you can find a copy at the end of the article and save it on your drive before uploading it. (4)

Save the template.

Invoice template view with entered data and Paynow button implemented

When sending out invoice from  Sales screen; Email PDF section
Email PDF

you’ll want to edit that part to have active link in your email and allow your customers to click the link and pay by credit card directly from the email they receive. Wording “Pay now” is used here instead of the image button because Saasu email messaging system doesn’t support images.

Email

Email PDF email view with PayWay – Pay now link

In your PDF preview invoice will look like that

Paynow button displayed on invoice

Paynow button displayed on invoice

… and that’s how the PayWay screen looks like with pre-filled information from Saasu invoice

Payway payment screen with pre-populated data and related Saasu merge fields

Payway payment screen with pre-populated data and related Saasu merge fields

PayWay Paynow button HTML Code for you to use in your invoice template:

<h2>Pay balance by CreditCard</h2>
 <p>
 <a href="https://www.payway.com.au/net/NetTransactionEditView?BillerCode=xxxxxx&payment_reference={InvoiceNumber}&payment_reference_maximum_length=20&payment_amount={BalanceDue}&receipt_address={BillingContact.Email}">
 <img alt="" src="{Image.Url}payway.png" /></a>
 </p>

A pay now button image for you to use in your invoice template:

PayWay button

PayWay button

Thanks Liam for an inspiration to share this solution with other Saasu and PayWay users.

No comments yet.

Leave a Reply