An open API service indexing awesome lists of open source software.

https://github.com/datatrans/secure-fields-sample

Visually pleasing credit card forms with Datatrans Payment Gateway and PCI Proxy.
https://github.com/datatrans/secure-fields-sample

Last synced: 4 months ago
JSON representation

Visually pleasing credit card forms with Datatrans Payment Gateway and PCI Proxy.

Awesome Lists containing this project

README

          

# Secure Fields examples

This project contains sample code for implementing a visually pleasing credit card form.

Further information can be found here:
- [As a PCI Proxy customer](https://docs.pci-proxy.com/docs/secure-fields)
- [As a Datatrans Payment Gateway customer](https://docs.datatrans.ch/docs/secure-fields)

## Online demo

Visit the [online demo](https://datatrans.github.io/secure-fields-sample/pciproxy-examples) here.

**Note**: Please only ever use `secureFields.initTokenize(...)` if you are a PCI Proxy customer.

## React examples

### For PCI Proxy customers

An example of how to integrate Secure Fields with React applications can be found in the
[react-example-initTokenize](react-example-initTokenize/) folder.

### For Datatrans Payment Gateway customers

An example of how to integrate Secure Fields with React applications can be found in the
[react-example-init](react-example-init/) folder.

## Angular examples

### For PCI Proxy customers

An example of how to integrate Secure Fields with Angular 20 applications can be found in the
[angular-20-example](angular-20-example/) folder.