20/01
2018
Wallogit.com
2017 © Pedro Peláez
Repository for Integration of Sumup Payment Gateway using PHP.
Integration of Sumup Payment Gateway using PHP., (*1)
{"id":"CCCPV79Q","name":"Hariom","client_id":"iXXX7JWbByXXXXopDOgqIXXXXX","client_secret":"b1f090512aaXXXXXXXXXXXXXXX3e9fb02f1685408dd5b79a1fXXXXXXXXXXXXXX","application_type":"web","redirect_uris":["http://xyz.com/verify_payment.php"],"cors_uris":["http://xyz.com"]}Set these credentials into "gateway.php" file
Change these credential from the file :
const CLIENT_ID = "Client Id";
const CLIENT_SECRET = "Client Secret Key";
const PAYEE_EMAIL = 'merchant email id';
const RETURN_URL = 'http://xyz.com/success.php';
const REDIRECT_URL = "http://xyz.com/verify_payment.php";
const API_TOKEN_URL = "https://api.sumup.com/token";
const API_AUTHORIZE_URL = 'https://api.sumup.com/authorize';
const API_CHECKOUT_URL = 'https://api.sumup.com/v0.1/checkouts';, (*2)
Change the bill number and amount from the generate_bill.php file., (*3)
By Cloning the git reporitorycomposer require hariom/sumup-gateway-integration