Skip to main content
To embed iFrames your domain has to be whitelisted. Please reach out to support to do so.

iFrame

In the Website page under the Admin section you can copy the HTML for the Purchase Portal iFrame. A preview box for testing is available in the same section. Membership Pn

Configuration

You must select a location and package for the iFrame. That is the location to which the money will be deposited. You can optionally have a promotion pre-selected if you want to run ads and allow for easy sign up. The portal always shows a phone number field, which is optional by default. Turn on Require Phone Number under Options to make customers enter one before they continue to payment. When a customer gives a phone number that already belongs to a customer in your organization, the purchase attaches to that existing customer.

Callbacks

You can have your webpage listen for success/fail callbacks from the iFrame to respond accordingly. For example to redirect to a branded thank you page, or to feed the data into ads or 3rd party systems. There are two types of messages posted to the parent site:
  • flexwash-purchase-portal-success with the name, email, and phone number of the customer. The phone number is null when the customer leaves it blank.
  • flexwash-purchase-portal-error
Below is example Javascript that can be used for sign up portal events.