feat: finishing pagseguro implementation

This commit is contained in:
Gabriel Pedro
2016-05-02 13:42:30 -04:00
parent 583001e91d
commit e48ee4854d
3 changed files with 223 additions and 0 deletions

View File

@@ -2,6 +2,10 @@
protect_page();
include 'layout/overall/header.php';
if (isset($_GET['callback']) && $_GET['callback'] === 'processing') {
echo '<script>alert("Seu pagamento está sendo processado pelo PagSeguro...");</script>';
}
// Import from config:
$shop = $config['shop'];
$shop_list = $config['shop_offers'];