Download src/app/Http/Controllers/PaymentMethod/PayTm/txnstatus.php from pnacorp/xsender: direct link, hf CLI and curl.
- Browser
- Download file 1.04 kB
-
https://huggingface.co/pnacorp/xsender/resolve/main/src/app/Http/Controllers/PaymentMethod/PayTm/txnstatus.php
- Command line
-
hf download hf://pnacorp/xsender/src/app/Http/Controllers/PaymentMethod/PayTm/txnstatus.php
-
curl -L -o txnstatus.php https://huggingface.co/pnacorp/xsender/resolve/main/src/app/Http/Controllers/PaymentMethod/PayTm/txnstatus.php
1.04 kB
| /** | |
| * import checksum generation utility | |
| * You can get this utility from https://developer.paytm.com/docs/checksum/ | |
| */ | |
| require_once "config.php"; | |
| $transactionResult= transactionStatus(); | |
| /* print_r($response); */ | |
| <html> | |
| <head> | |
| <title>Paytm Js Checkout - PHP</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> | |
| </head> | |
| <body> | |
| <div class="container text-center"> | |
| <div class="shadow p-3 mb-5 bg-white rounded"> | |
| <h2>Transaction Status</h2> | |
| <table class="table table-bordered"> | |
| <?php foreach($transactionResult['body'] as $key => $value){ | |
| <tr><td> echo $key; </td><td> echo is_array($value)?json_encode($value):$value; </td></tr> | |
| } | |
| </table> | |
| </div> | |
| </div> | |
| </body> | |
| </html> |