Developer manual
Eway Basic Form
To create a basic payment form, create a new page with a Spring Web Form, and setup the following form fields.
Updated: Type: form-field-definition
Enable Eway support
Firstly, ensure you have enabled Eway support in Spring.
Create the form
To create a basic payment form, create a new page with a Spring Web Form, and setup the following form fields:
Form Type
Action: Eway
Form Details
Submit Button text: Pay Now
Current
Form Field Definitions
| Field Name | Type | Label | Value | Required? | |
|---|---|---|---|---|---|
| current | redirect | hidden | url to redirect if payment successful | ||
| current | subject | hidden | Online Payment | ||
| current | note | Your Details | |||
| current | reference | text | Reference Number | ||
| current | text | Email Address | Yes | ||
| current | first-name | text | First Name | Yes | |
| current | last-name | text | Last Name | Yes | |
| current | note | Payment Details | |||
| current | invoice-total | text | Amount | Yes | |
| current | spring:eway:creditcard | hidden |