Jump to content

How to pass customer information to external page? Plz Help


Recommended Posts

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

  • 4 weeks later...

<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

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 by anishjmc (see edit history)
Link to comment
Share on other sites

  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...