File: examples/genQRWithLogo.php

Recommend this page to a friend!
  Classes of Rohit Arya  >  UPI PHP Payment API Link  >  examples/genQRWithLogo.php  >  Download  
File: examples/genQRWithLogo.php
Role: Example script
Content type: text/plain
Description: Example script
Class: UPI PHP Payment API Link
Generate URL or QRCode to pay using the UPI app
Author: By
Last change:
Date: 1 year ago
Size: 385 bytes
 

Contents

Class file image Download
<?php
require_once('../includes/upi.php');
$upi=new Upi();
$beneficiaryName='Rohit Arya';
$upiID='rohitarya@upi';
$amount=10.00;
$logo='https://bharatbills.com/wp-content/uploads/2019/05/Bharat-Bills_Loadeer_1.png';
$link=$upi->linkWithAmount($beneficiaryName,$upiID,$amount);
$imagename=$upi->genQRWithLogo($link,$logo);
?>
<img height=360px; src="<?php echo $imagename;?>">

For more information send a message to info at phpclasses dot org.