emerchantpay with Umbraco Forms
Details an integration available for emerchantpay with Umbraco Forms, built and maintained by Umbraco HQ.
This integration provides a custom workflow for handling online payments using a hosted payment page provided by emerchantpay.
Package Links
Minimum version requirements
Umbraco CMS
Version 8
8.5.4
Version 10
10.1.0
Version 11
11.0.0
Umbraco Forms
Version 8
8.13.0
Version 10
10.1.0
Version 11
11.0.0
How To Use
To get started with emerchantpay a merchant needs to be onboarded. This will allow you to get a merchant ID and obtain the keys required by the integration.
To begin the onboarding process and obtain the merchant account, you need to fill out this form.
Afterwards, a member of the emerchantpay team will reach out to you.
Authentication
All requests to emerchantpay API are authenticated by providing the merchant's username and password.
If the configuration is incomplete, the user will receive an error message.
Configuration
The below configuration is required. It consists of authentication settings, merchant specific details and customizable payment fields. Some configuration items are stored as an array of strings or a dictionary, and parsed using a specific service.
Working with the integration
Follow the steps below to start using the integration.
Attach the emerchantpay Gateway workflow to a form.
Map the following values with matching form fields:
Amount
Currency
Number of Items
Record Status
Record Payment Unique ID
Consumer Details
Configure the event handlers for payment successfully processed, failed, or canceled.
A consumer has the following properties available that can be mapped against form fields:
Email
FirstName
LastName
Address1
Address2
ZipCode
City
State
Country
Phone
When a form is submitted on the website, the workflow will execute. Two data payloads will be sent to emerchantpay. One for creating or retrieving the details of a consumer and the other for creating a payment.
The response for the second request will provide the URL for the hosted payment page, and the user will be redirected there.
On completing the payment the emerchantpay API will return the user to the page provided in the matching event handler of the workflow.
Last updated