Pay Page

Technical Guide


Technical Guide

Server Requirements

As given below.

  • PHP >= 5.6
  • OpenSSL PHP Extension
  • Mbstring PHP Extension
  • JSON PHP Extension
  • Curl PHP Extension

 

Frameworks & Library Uses

To make this awesome product below are the libraries used:

PHP

  • wixel/gump - 1.5.7,
  • instamojo/instamojo-php - ^0.3.0,
  • yabacon/paystack-php - ^2.1,
  • razorpay/razorpay - ~2.3.0,
  • iyzico/iyzipay-php - ~2.0.43,
  • stripe/stripe-php - ~6.30.5
  • authorizenet/authorizenet - 1.9.9,
  • bitpay/php-client - ~2.2.20,
  • mercadopago/dx-php - 1.5.0

 

File Structure

While development we follow some of our rules to organize the code.

All the component code is placed under the folder called Yantrana under the app folder. This folder contains folders:

  • livelyworks - This folder contains following folder.
  • app - this folder contains following folders.
  • Component - This folder contains all responses file of payment gateway.
  • Service - All payment gateways service files placed here.
  • Support - It contain helper file.
  • example - All payment related views, config action, response files are placed here. You can make changes here as per your requirement. This folder contains following folder.
  • assets - asset folder contains following folder
  • css - this folder contains css file for this app.
  • js - this folder contains js file for this app.
  • imgs - payment gateways images placed here.
  • individual-payment-gateways - its contains all individual file for payment gateway.
  • vendor - all folder downloaded by composer.json file are placed here.