Skip to content
PaymentJS v2 example integration using PHP
CSS PHP JavaScript HTML
Branch: master
Clone or download
Latest commit 9cd085e Jan 9, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client Initial commit Jan 4, 2020
LICENSE
README.md Update README.md Jan 9, 2020
auth.php Initial commit Jan 3, 2020
config.php Initial commit Jan 3, 2020
webhook.php

README.md

PaymentJS PHP integration

PaymentJS Documentation

https://docs.paymentjs.firstdata.com/

Getting Started

  1. Gateway and PaymentJSv2 developer app credentials are stored in config.php. Add the credentials accordingly.
  2. For the webhook callback to work, a HTTPS supported webhook url needs to be registered in the developer app for PaymentJSv2. Fill out the form from this link https://docs.firstdata.com/req/paymentjs and please allow 48 business hours to be on-boarded.
  3. Client directory contains all the browser related codes and paymentLog directory logs the successful transactions' details.
  4. There are four payment gateways and you will need to have sandbox account for each to run the integration for specific gateway.

URL: http://localhost:8080/client/index.html

You can’t perform that action at this time.