Community Forums

how to create new payment gateway

Support for Payment extensions

how to create new payment gateway

Postby idanlevy » Tue Aug 31, 2010 1:25 pm

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...
idanlevy
 
Posts: 64
Joined: Sun Aug 15, 2010 12:57 pm

Re: how to create new payment gateway

Postby Xsecrets » Tue Aug 31, 2010 1:52 pm

look at the paypal module for reference.
Xsecrets
 
Posts: 5026
Joined: Sat Oct 24, 2009 2:51 pm
Location: FL US

Re: how to create new payment gateway

Postby idanlevy » Tue Aug 31, 2010 1:59 pm

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...
idanlevy
 
Posts: 64
Joined: Sun Aug 15, 2010 12:57 pm

Re: how to create new payment gateway

Postby Qphoria » Tue Aug 31, 2010 2:41 pm

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
ImageImage
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 19162
Joined: Mon Jul 21, 2008 2:02 pm
Donate to Qphoria

Re: how to create new payment gateway

Postby idanlevy » Tue Aug 31, 2010 2:54 pm

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?
idanlevy
 
Posts: 64
Joined: Sun Aug 15, 2010 12:57 pm


Return to Payments

Who is online

Users browsing this forum: No registered users and 14 guests

Hosted by Arvixe Web Hosting