Devilzc0de Forum Follow @devilzc0de
  • Home
  • Hacking
  • Networking
  • Programming
  • O.S
  • Server
  • Tweets
  • Search
  • Member List
  • Calendar
Current time: 06-18-2013, 12:51 PM Hello There, Guest! (Login — Register)
Devilzc0de Forum › Information Technology › Programming › PHP v
« Previous 1 ... 28 29 30 31 32 Next »

curl payment gateway

Home General Computer Multimedia Business Lounge

Post Reply 
Tweet
Threaded Mode | Linear Mode
curl payment gateway
03-04-2011, 08:19 PM
Post: #1
xil0n9 Offline
DC Senior
***
Posts: 50
Joined: Dec 2009
Reputation: 8
Heart curl payment gateway
ni mayan buat ngecek cece

ok.php
PHP Code:
<?php
// inserted the variables $action, $accid... to receive vars from form above.
   
$url = 'https://trans.atsbank.com/cgi-bin/trans.cgi';
   
$params = "action=$action" . "&" .
             
"acctid=$acctid" . "&" .
             
"amount=$amount" . "&" .
             
"ccname=$ccname" . "&" .
             
"ccnum=$ccnum" . "&" .
             
"expmon=$expmon" . "&" .
             
"expyear=$expyear";
             
   
$ch = curl_init();
   
curl_setopt($ch, CURLOPT_POST,1);
   
curl_setopt($ch, CURLOPT_POSTFIELDS,$params);
   
curl_setopt($ch, CURLOPT_URL,$url);
   
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,  2);
   
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
   
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
   
curl_setopt($ch, CURLOPT_HEADER, 1); // added per suggestion.
   
$result=curl_exec ($ch);
   
curl_close ($ch);
   echo 
$result;
   
   
/*if ($result == "") {
      echo("No Response.\n");
      exit;
   } else {
      //echo("$result");
      $pieces = explode("\r\n", $result);
    echo $pieces[0]; // piece1
    echo $pieces[1]; // piece2
      exit;
   }*/ 


?>


cek.php

PHP Code:
<form method="post" action="ok.php">
   <
input type="hidden" name="action" value="ns_quicksale_cc">
   <
input type="hidden" name="acctid" value="TEST0">
   <
input type="text" name="amount" value="1.00" size="6" maxlength="6">
   <
input type="text" name="ccname" value="Cocomo Joe">
   <
input type="text" name="ccnum" value="5454545454545454">
   <
input type="text" name="expmon" value="12">
   <
input type="text" name="expyear" value="2005">
   <
input type="submit" name="Submit" value="Process Order">
</
form> 
Find all posts by this user
Quote this message in a reply
 Reputed by :  wahyu_devilzc0de™(+1)
03-04-2011, 08:39 PM
Post: #2
wendyaja Offline
./Devilz Commander
Posts: 401
Joined: Mar 2010
Reputation: 0
RE: curl payment gateway
jelasin cara pakenya kaka.. please
Find all posts by this user
Quote this message in a reply
03-04-2011, 08:50 PM
Post: #3
KataM Offline
./Devilz Commodore
Posts: 1,231
Joined: Feb 2011
Reputation: 41
RE: curl payment gateway
nih maksudnya apa :nohope
Find all posts by this user
Quote this message in a reply
03-04-2011, 09:47 PM
Post: #4
wahyu_devilzc0de™ Offline
Rest In Peace
***
Posts: 1,573
Joined: Dec 2009
Reputation: 191
RE: curl payment gateway
mantap boss. langsung cek in asik
keknya habis kuras hdd nih. ngakak
Visit this user's website Find all posts by this user
Quote this message in a reply
03-05-2011, 05:10 AM
Post: #5
zal_freaks Offline
| Devilzc0de | Sepanjang | Hari |
**
Moderators
Posts: 393
Joined: Dec 2009
Reputation: 21
RE: curl payment gateway
(03-04-2011 08:50 PM)KataM Wrote:  nih maksudnya apa :nohope

Buat Ngecek Valid atau Nggaknya Suatu CC Om cihuy
Hehehe.. Kalo Nggak salah seh hmm
Visit this user's website Find all posts by this user
Quote this message in a reply
03-05-2011, 11:47 AM (This post was last modified: 03-05-2011 11:52 AM by KataM.)
Post: #6
KataM Offline
./Devilz Commodore
Posts: 1,231
Joined: Feb 2011
Reputation: 41
RE: curl payment gateway
(03-05-2011 05:10 AM)zal_freaks Wrote:  
(03-04-2011 08:50 PM)KataM Wrote:  nih maksudnya apa :nohope

Buat Ngecek Valid atau Nggaknya Suatu CC Om cihuy
Hehehe.. Kalo Nggak salah seh hmm

ribet untuk mengecek domain yang ada di CO.CC ya om,, ane juga ada ijin test hore
Find all posts by this user
Quote this message in a reply
03-05-2011, 11:41 PM
Post: #7
mygo Offline
./Devilz Officer
Posts: 53
Joined: Jul 2010
Reputation: 0
RE: curl payment gateway
Izin bookmark yah
Find all posts by this user
Quote this message in a reply
03-06-2011, 01:21 PM
Post: #8
xil0n9 Offline
DC Senior
***
Posts: 50
Joined: Dec 2009
Reputation: 8
RE: curl payment gateway
(03-05-2011 11:47 AM)KataM Wrote:  
(03-05-2011 05:10 AM)zal_freaks Wrote:  
(03-04-2011 08:50 PM)KataM Wrote:  nih maksudnya apa :nohope

Buat Ngecek Valid atau Nggaknya Suatu CC Om cihuy
Hehehe.. Kalo Nggak salah seh hmm

ribet untuk mengecek domain yang ada di CO.CC ya om,, ane juga ada ijin test hore
hehehe...
kapan hari kan ane develop modul payment gateway untuk prestashop ehh malah kepikiran buat tool ngecek cece
Find all posts by this user
Quote this message in a reply
03-07-2011, 01:10 AM (This post was last modified: 03-07-2011 01:42 AM by Up_.)
Post: #9
Up_ Offline
./Devilz 1st Cadet
Posts: 26
Joined: Mar 2010
Reputation: 0
RE: curl payment gateway
jadi takut nyobanya...

https://trans.atsbank.com/cgi-bin/trans.cgi <-- mintak Sc cgi nye om..!!
jadi takut nyobanya...
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Topic Tools
Topic Link :
BBCode :
HTML Code :
View a Printable Version Send Thread to a Friend Subscribe to this thread
Submit Google Submit Face book Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Ask] Curl Proxy d02x 1 40 06-16-2013 08:32 PM
Last Post: ketek
  [Solved] Auto Login Forum dengan CURL angelcyber942 16 345 05-24-2013 02:06 PM
Last Post: gookilers
  [Ask] Need Help .. Repeated Payment dzawa 1 123 11-11-2012 09:27 AM
Last Post: ditatompel
  [Ask] CURL dengan Post Data Joris 8 297 10-19-2012 01:50 PM
Last Post: Joris
  [Solved] Curl | Get Content Warrior 11 836 02-22-2012 05:28 PM
Last Post: Joris
  [Ask] curl pada php untuk cek jumlah postingan Jakarta 8 823 01-25-2012 06:17 PM
Last Post: Jakarta
  [Tutor] bot, php curl.... :D jadi penyair di sonet teman.... d-xign3r 12 1,762 01-15-2012 01:39 AM
Last Post: eidelweiss
  Membuat SMS Gateway Ucapan Ulang Tahun Otomatis dengan PHP + MySQL akatsuki 7 3,548 01-27-2011 03:57 PM
Last Post: dewancc

Users Browsing
1 Guest(s)

  • Contact Us
  • devilzc0de
  • Return to Top
  • Mobile Version
  • RSS Syndication
  • Help
Current time: 06-18-2013, 12:51 PM Powered By MyBB, © 2002-2013 MyBB Group. Theme created by Justin S. | Mixed By Chaer.Newbie | Fixed By Aditya

USING THIS SITE INDICATES THAT YOU HAVE READ AND ACCEPT OUR TERMS. IF YOU DO NOT ACCEPT THESE TERMS, YOU ARE NOT AUTHORIZED TO USE THIS SITE