Checkout

[et_pb_section bb_built=”1″ next_background_color=”#000000″][et_pb_row][et_pb_column type=”4_4″][et_pb_code _builder_version=”3.10.2″]<link rel=”stylesheet” href=”https://payway.ababank.com/checkout-popup.html?file=css”/><!– [et_pb_line_break_holder] –><script src=”https://payway.ababank.com/checkout-popup.html?file=js”></script><!– [et_pb_line_break_holder] –><script><!– [et_pb_line_break_holder] –> $(document).ready(function () {<!– [et_pb_line_break_holder] –> // checkout_button id is from your website checkout button<!– [et_pb_line_break_holder] –> $(‘#checkout_button’).click(function () {<!– [et_pb_line_break_holder] –> AbaPayway.checkout();<!– [et_pb_line_break_holder] –> });<!– [et_pb_line_break_holder] –> });<!– [et_pb_line_break_holder] –></script>[/et_pb_code][et_pb_code _builder_version=”3.10.2″]<head><!– [et_pb_line_break_holder] –> <title>PayWay Checkout Sample</title><!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –> <!— Make a copy of this code to paste into your site—><!– [et_pb_line_break_holder] –> <meta charset=”utf-8″><!– [et_pb_line_break_holder] –> <meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0″><!– [et_pb_line_break_holder] –> <meta name=”author” content=”PayWay”><!– [et_pb_line_break_holder] –> <script src=”https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js”></script><!– [et_pb_line_break_holder] –> <!— end —><!– [et_pb_line_break_holder] –> </head>[/et_pb_code][et_pb_code _builder_version=”3.10.2″]<link rel=”stylesheet” href=”https://payway.ababank.com/checkout-popup.html?file=css”/><!– [et_pb_line_break_holder] –><script src=”https://payway.ababank.com/checkout-popup.html?file=js”></script><!– [et_pb_line_break_holder] –><script><!– [et_pb_line_break_holder] –> $(document).ready(function () {<!– [et_pb_line_break_holder] –> // checkout_button id is from your website checkout button<!– [et_pb_line_break_holder] –> $(‘#checkout_button’).click(function () {<!– [et_pb_line_break_holder] –> AbaPayway.checkout();<!– [et_pb_line_break_holder] –> });<!– [et_pb_line_break_holder] –> });<!– [et_pb_line_break_holder] –></script>[/et_pb_code][/et_pb_column][/et_pb_row][/et_pb_section][et_pb_section bb_built=”1″ fullwidth=”off” specialty=”off” prev_background_color=”#000000″][et_pb_row][et_pb_column type=”4_4″][et_pb_code _builder_version=”3.10.2″]<!— Popup Checkout Form —><!– [et_pb_line_break_holder] –> <div id=”aba_main_modal” class=”aba-modal”><!– [et_pb_line_break_holder] –> <!— Modal content —><!– [et_pb_line_break_holder] –> <div class=”aba-modal-content”><!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –> <!– Include PHP class –><!– [et_pb_line_break_holder] –> <?php<!– [et_pb_line_break_holder] –> require_once ‘PayWayApiCheckout.php’;<!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –> $transactionId = ‘1234’;<!– [et_pb_line_break_holder] –> $amount = ’10’;<!– [et_pb_line_break_holder] –> $firstName = ‘Jonh’;<!– [et_pb_line_break_holder] –> $lastName = ‘Benna’;<!– [et_pb_line_break_holder] –> $phone = ‘012123456’;<!– [et_pb_line_break_holder] –> $email = ‘jonh.benna@gmail.com’;<!– [et_pb_line_break_holder] –> ?><!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –> <form method=”POST” target=”aba_webservice” action=”<?php echo PayWayApiCheckout::getApiUrl(); ?>” id=”aba_merchant_request”><!– [et_pb_line_break_holder] –> <input type=”hidden” name=”hash” value=”<?php echo PayWayApiCheckout::getHash($transactionId, $amount); ?>” id=”hash”/><!– [et_pb_line_break_holder] –> <input type=”hidden” name=”tran_id” value=”<?php echo $transactionId; ?>” id=”tran_id”/><!– [et_pb_line_break_holder] –> <input type=”hidden” name=”amount” value=”<?php echo $amount; ?>” id=”amount”/><!– [et_pb_line_break_holder] –> <input type=”hidden” name=”firstname” value=”<?php echo $firstName; ?>”/><!– [et_pb_line_break_holder] –> <input type=”hidden” name=”lastname” value=”<?php echo $lastName; ?>”/><!– [et_pb_line_break_holder] –> <input type=”hidden” name=”phone” value=”<?php echo $phone; ?>”/><!– [et_pb_line_break_holder] –> <input type=”hidden” name=”email” value=”<?php echo $email; ?>”/><!– [et_pb_line_break_holder] –> </form><!– [et_pb_line_break_holder] –> </div><!– [et_pb_line_break_holder] –> <!— end Modal content—><!– [et_pb_line_break_holder] –> </div><!– [et_pb_line_break_holder] –> <!— End Popup Checkout Form —>[/et_pb_code][et_pb_code _builder_version=”3.10.2″]<link rel=”stylesheet” href=”https://payway.ababank.com/checkout-popup.html?file=css”/><!– [et_pb_line_break_holder] –> <script src=”https://payway.ababank.com/checkout-popup.html?file=js”></script><!– [et_pb_line_break_holder] –> <script><!– [et_pb_line_break_holder] –> $(document).ready(function () {<!– [et_pb_line_break_holder] –> $(‘#checkout_button’).click(function () {<!– [et_pb_line_break_holder] –> AbaPayway.checkout();<!– [et_pb_line_break_holder] –> });<!– [et_pb_line_break_holder] –> });<!– [et_pb_line_break_holder] –> </script>[/et_pb_code][/et_pb_column][/et_pb_row][/et_pb_section]