anishjmc Posted July 11, 2012 Share Posted July 11, 2012 Dear all, Please help! Am new to prestashop. I just installed payment module "ccavenue". Can anyone tell me how to pass customer information to ccavenues payment page? Below values are showing on their page:- <input type="hidden" name="billing_name" value="{$address->lastname}" /> <input type="hidden" name="billing_address" value="{$address->address1}" /> <input type="hidden" name="billing_tel" value="{$address->phone}" /> But i need to show country , state and email too. I added this to pass country value but not showing. <input type="hidden" name="billing_country" value="{$country->iso_code}" /> Please help Link to comment Share on other sites More sharing options...
anishjmc Posted July 13, 2012 Author Share Posted July 13, 2012 No one to help me??????????? Link to comment Share on other sites More sharing options...
kanthraj Posted August 7, 2012 Share Posted August 7, 2012 <input type="hidden" name="billing_cust_name" value="{$address->firstname}" /> <input type="hidden" name="billing_last_name" value="{$address->lastname}" /> <input type="hidden" name="billing_cust_address" value="{$address->address1}" /> <input type="hidden" name="billing_cust_tel" value="{$address->phone_mobile}" /> <input type="hidden" name="billing_cust_email" value="{$customer->email}" /> <input type="hidden" name="billing_cust_city" value="{$address->city}" /> <input type="hidden" name="billing_cust_state" value="{$address>state}" /> <input type="hidden" name="billing_zip_code" value="{$address->postcode}" /> <input type="hidden" name="billing_cust_country" value="{$address->country}" /> Link to comment Share on other sites More sharing options...
anishjmc Posted August 7, 2012 Author Share Posted August 7, 2012 Kanthraj one more to do. In back office , select country , edit and in address layout we need to include all these too. Any way thanks for your help Link to comment Share on other sites More sharing options...
kanthraj Posted August 7, 2012 Share Posted August 7, 2012 Anish, how to pull the state ? Link to comment Share on other sites More sharing options...
anishjmc Posted August 7, 2012 Author Share Posted August 7, 2012 (edited) That was i telling you dude. Go to your back office , in shipping->countries->India . Then edit it. U can see address layout. Add State:name from the RHS to the LHS. Put if before country name. Then see whether it works. If u are using ccevenue as payment gateway, i need some help regarding submitting the data into DB . The ccavenue module i presently have will pass the details to the transaction page , but wont insert data into DB as orders. Do u have same problem???? Edited August 7, 2012 by anishjmc (see edit history) Link to comment Share on other sites More sharing options...
ggupta77 Posted December 10, 2013 Share Posted December 10, 2013 I am using ccavenue payment gateway and inserted this code to pass customer information but it is not working for me. I am using Prestashop 1.5.4.1 version. Please help me out. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now