Post by idanlevy » Wed Sep 01, 2010 2:25 am

want to create a new mod of payment but cant understand something:

Code: Select all

<form target=_blank method=POST
action='https://secure.paycard.co.il/webi/html/interface.aspx'
id=Form1>
<input type=hidden name=INAME value=mtpurchase >
<input type=hidden name=mer value=PayCard >
<input type=hidden name=CreditorID value=1507809>
<input type=hidden name=TransactionID value=automatic >
<input type=hidden name=Amount value=100>
<input type=hidden name=Currency value=usd>
<input type=hidden name=SuccessUserPage value=''>
<input type=hidden name=FailureUserPage value=''>
<input type=hidden name=UserDesc value='1'>
<input type="hidden" name="firstname" value="idan" />
<input type="hidden" name="lastname" value="levy" /> 
 <input type="hidden" name="address" value="csaca" /> 
<input type="hidden" name="city" value="ca" /> 
<input type="hidden" name="state" value="csa" /> 
<input type="hidden" name="Postal" value="43370" />
<input type="hidden" name="phone" value="0545223955" /> 
<input type="hidden" name="email" value="idanlevy@gmail.com" />  
<input type="hidden" name="NationalID" value="1234456789" /> 
<input type=hidden name=AnswerPage value=''>
<input type=hidden name=ItemType value='3'>
<input type=hidden name=MerchantData value='MerchantDataSTR'>
<input type=hidden name=successPageParam value='1'>
<input type=hidden name=Sync value='0'>
<input type=hidden name=ResultPageMethod value='GET'>
<input type=submit value='pay me'>
</form>
only i dont know how to create that when the user choose paycard method to pay he will go until the confirmation page
and than he will be redirected with this code.

after he pay or not
he will be returned to the site

what needed to be the success page
and the failure page?

thank you advanced...

New member

Posts

Joined
Mon Aug 16, 2010 1:57 am

Post by Xsecrets » Wed Sep 01, 2010 2:52 am

look at the paypal module for reference.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by idanlevy » Wed Sep 01, 2010 2:59 am

i saw it but i want to create my own one

this is very simple gateway

i send this form and he return to the successful link if it ok

but how i create that this will work for me...

New member

Posts

Joined
Mon Aug 16, 2010 1:57 am

Post by Qphoria » Wed Sep 01, 2010 3:41 am

I have paycard.co.il already done if you are interested

But if you want to try it alone, you need to take a look at a gateway like pp_standard. There are 7 total files across all folders for admin and catalog. Clone those and in the catalog/controller/payment/paycard.php file, you would add all your fields that way

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by idanlevy » Wed Sep 01, 2010 3:54 am

yes i am interstead
Does in include all the verfication like paypal have??(verify paypal email matches,verify post has been received from paypal.com etc')
can u send it to me for free?
if not how much does you want for this?

New member

Posts

Joined
Mon Aug 16, 2010 1:57 am
Who is online

Users browsing this forum: No registered users and 17 guests