Skip to content

Instantly share code, notes, and snippets.

View allsecure-pay's full-sized avatar

AllSecure allsecure-pay

View GitHub Profile
<?php
/**
* Copyright (c) AllSecure. All rights reserved.
*/
/**
* Class Opp_AES_Model_Decrypt
*/
class Opp_AES_Model_Decrypt
{
@allsecure-pay
allsecure-pay / index.php
Created December 19, 2018 09:46
SecurePay-PHP (PA)
<?php
function prepareCheckout() {
$url = "https://test.oppwa.com/v1/checkouts";
$data = "authentication.userId=8a8294184f45ce7e014f4b1d16cc12df".
"&authentication.password=j3zCJ2ENaD".
"&authentication.entityId=8a8294184f45ce7e014f4b1d16bd12db".
"&paymentType=PA" .
"&amount=50.99" .
"&curency=RSD";