Showing posts with label Sample code to integrate plimus as payment gateway. Show all posts
Showing posts with label Sample code to integrate plimus as payment gateway. Show all posts

Thursday, August 16, 2012

plimus payment gateway | payment gateway | Sample code to integrate plimus as payment gateway

 Here is a Sample code to integrate plimus as payment gateway either for one time payment or for Recurring payment.

<form id="form1" action="https://sandbox.plimus.com/jsp/buynow.jsp" method="post">
<div>
<input type="hidden" name="contractId" value="2114108" />
<input type="hidden" name="quantity" value="1" />
<input type="hidden" name="overridePrice" value="20" />
<input type="hidden" name="custom1" value="1001" />
<input type="hidden" name="enableCustom" value="Y" />
<input type="hidden" name="firstName" value="Lakhan" />
<input type="hidden" name="lastName" value="Pal" />
<input type="hidden" name="email" value="lakhangarg@gmail.com" />
<input type="hidden" name="address1" value="6252 NW 65 Terrace" />
<input type="hidden" name="address2" value="Test Course" />
<input type="hidden" name="city" value="Parkland" />
<input type="hidden" name="zipCode" value="33067" />
<input type="hidden" name="country" value="us" />
<input type="hidden" name="state" value="FL" />
<input type="hidden" name="workPhone" value="1-858-350-7473" />
<input type="hidden" name="cardNumber" value="4111111111111111" />
<input type="hidden" name="verifyCardCode" value="411" />
<input type="hidden" name="bCur" value="USD" />
<input type="hidden" name="currency" value="USD" />
<input type="submit" id="btnSubmit" name="btnSubmit" value="Plimus - Pay Now"/>
</div>
</form>


Refer the following useful urls:

plimus sandbox URL  :https://sandbox.plimus.com/jsp/buynow.jsp

Form for plimus: http://www.dotnetspark.com/kb/841-payment-gateway-integrate---plimus.aspx

httpNotificationVariable IPN variables: https://sandbox.plimus.com/html/httpNotificationVariable.html

Useful tip for IPN:

http://home.plimus.com/ecommerce/learning-center/instant-notifications/ipn-guide
http://home.plimus.com/ecommerce/learning-center/instant-notifications/sample-code