Umbraco.Forms.Integrations.Commerce.emerchantpay 1.0.3

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Umbraco.Forms.Integrations.Commerce.emerchantpay --version 1.0.3                
NuGet\Install-Package Umbraco.Forms.Integrations.Commerce.emerchantpay -Version 1.0.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Umbraco.Forms.Integrations.Commerce.emerchantpay" Version="1.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Umbraco.Forms.Integrations.Commerce.emerchantpay --version 1.0.3                
#r "nuget: Umbraco.Forms.Integrations.Commerce.emerchantpay, 1.0.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Umbraco.Forms.Integrations.Commerce.emerchantpay as a Cake Addin
#addin nuget:?package=Umbraco.Forms.Integrations.Commerce.emerchantpay&version=1.0.3

// Install Umbraco.Forms.Integrations.Commerce.emerchantpay as a Cake Tool
#tool nuget:?package=Umbraco.Forms.Integrations.Commerce.emerchantpay&version=1.0.3                

Umbraco.Forms.Integrations.Commerce.emerchantpay

This integration provides a custom workflow for handling online payments using a hosted payment page provided by emerchantpay.

Prerequisites

Required minimum versions of Umbraco CMS:

  • CMS: 8.5.4
  • Forms: 8.13.0

How To Use

To get started with emerchantpay a merchant would need to be onboarded in order to get a merchant ID and obtain the keys required by the integration.

To begin the onboarding process an obtain the merchant account, you would need to fill out this form. Afterwards, a member of the emerchantpay team will reach out to you.

Customer journey map

A merchant getting started with emerchantpay and Umbraco will need to make sure that they have an emerchantpay merchant account enabled and then cover these steps:

  • Package Installation
  • Site Settings
  • Workflow Setup

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 emerchantpay API endpoints accept and return XML data. When the form is submitted, two batches of payload data are exchanged: one for handling consumer information and the second one for creating the payment.

A consumer has the following available properties that can be mapped against form fields:

  • Email
  • FirstName
  • LastName
  • Address1
  • Address2
  • ZipCode
  • City
  • State
  • Country
  • Phone

The below configuration - consisting of authentication settings, merchant specific details and customizable payment fields - is required. Some configuration items are stored as an array of strings or a dictionary, and parsed using a specific service.

<appSettings>
...
<add key="Umbraco.Forms.Integrations.Commerce.eMerchantPay.GatewayBaseurl" value="https://staging.gate.emerchantpay.net/"/>
<add key="Umbraco.Forms.Integrations.Commerce.eMerchantPay.WpfUrl" value="https://staging.wpf.emerchantpay.net/wpf"/>
<add key="Umbraco.Forms.Integrations.Commerce.eMerchantPay.Username" value="[your_merchant_username]"/>
<add key="Umbraco.Forms.Integrations.Commerce.eMerchantPay.Password" value="[your_merchant_password]"/>
<add key="Umbraco.Forms.Integrations.Commerce.eMerchantPay.UmbracoBaseUrl" value="[your_website_url]"/>
<add key="Umbraco.Forms.Integrations.Commerce.eMerchantPay.Supplier" value="Umbraco"/>
<add key="Umbraco.Forms.Integrations.Commerce.eMerchantPay.Usage" value="Payment Gateway using Umbraco Forms"/>
<add key="Umbraco.Forms.Integrations.Commerce.eMerchantPay.Currencies" value="USD,US Dollar;EUR,Euro;GBP,British Pound;DKK,Danish Krone"/>
<add key="Umbraco.Forms.Integrations.Commerce.eMerchantPay.TransactionTypes" value="authorize;sale"/>
<add key="Umbraco.Forms.Integrations.Commerce.eMerchantPay.MappingFields" value="Email;FirstName;LastName"/>
...
</appSettings>

Working with the Umbraco Forms - emerchantpay integration

To use it you will need to attach the emerchantpay Gateway to a form and map the Amount, Currency, Number of Items, Record Status, Record Payment Unique ID and Consumer Details with matching form fields, then configure the event handlers for payment sucessfully processed, failed or cancelled.

When a form is submitted on the website, the workflow will execute and based on it's settings, two data payloads will be sent to emerchantpay for creating or retrieving the details of a consumer, and for creating a payment. The response for the second request will provide the URL for the hosted payment page, and the user will the redirected there.

On completing the payment the emerchantpay API will return the user to the page provided in matching event handler of the worklow.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.0 197 12/15/2023
2.0.5 142 12/15/2023
2.0.4 208 5/16/2023
2.0.3 261 3/10/2023
2.0.2 357 12/2/2022
2.0.1 334 11/22/2022
2.0.0 366 11/8/2022
1.0.4 166 5/16/2023
1.0.3 238 3/10/2023
1.0.2 317 12/2/2022
1.0.1 351 11/22/2022
1.0.0 346 11/8/2022