Skip to content

Reference implementation of integration with Ravelin 3DS Server

License

Notifications You must be signed in to change notification settings

unravelin/ravelin-3ds-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ravelin Example 3DS Checkout Implementation

This is an example 3DS implementation using Ravelin's 3D Secure API.

It demonstrates how to integrate with Ravelin's 3D Secure API and offer 3DS Secure in a checkout scenario.

For more detail, see Ravelin's 3D Secure documentation.

Requirements

  • In order to test against Ravelin's 3DS test infrastructure, the client IP address needs to be allowed in Ravelin's firewall. This will be done as part of the integration process.

Build and Run

This project is built with Go.

To build and run the project, first download and install Go from golang.org.

From the root of the repository:

go build
./ravelin-3ds-demo -ravelin-api-key=<replace-with-api-key>

Alternatively the project can be run from a docker container.

From the root of the repository:

docker build -t ravelin-3ds-demo .
docker run -p 8085:8085 ravelin-3ds-demo -ravelin-api-key=<replace-with-api-key>

Command Line Arguments

Command Line Argument Description
-ravelin-api-key Your Ravelin Sandbox API Key, accessible from the Ravelin Dashboard.
Test cards only work with sandbox accounts.
See documentation for more details.
-ravelin-api-url The URL of the Ravelin 3DS API.
Defaults to https://pci.ravelin.com.
-merchant-api The hostname the example 3DS implementation project is using.
This is used for API calls between the front-end and the back-end.
Defaults to http://localhost:8085.

About

Reference implementation of integration with Ravelin 3DS Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published