Jump to content

[SOLVED] What is the best way to pass Customer Name to payment-return.tpl for bankwire


Recommended Posts

Hi,

I need help passing a customer name variable to payment-return.tpl for bankwire.

Adding a variable such as shop phone was easy and worked.

'shop_phone' => Configuration::get('PS_SHOP_PHONE')

under hookPaymentReturn function where smarty tags are defined.

However, I'm having trouble getting customer name or the very least firstname lastname to work.

How do I do that? any variable holding that info during payment return? Or any global variable I could use that has this info?

Thanks.

Solved: $customername is a global variable available for use.

Link to comment
Share on other sites

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...