Prefix on Invoice Reference and Invoice descriptio

  • joomlanz
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 5 months ago #18589 by joomlanz
Hi

We are using Eway payment plugin.

It there a way we can add a prefix to the Invoice Reference and Description that gets passed on to Eway.

Client uses Eway for other payments and would like easy way to see where payment have come from

eg

Invoice Reference: Prefixxx - 14
Invoice Description: Prefixxx - Event title registration

Thanks

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
13 years 5 months ago #18597 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Prefix on Invoice Reference and Invoice descriptio
Hi

You can edit the code alitle to get it done. Please follow the steps below :

1. Open the file components/com_eventbooking/payments/os_eway.php

2. Find the code below :
Code:
$this->setCustomerInvoiceDescription($itemName); $this->setCustomerInvoiceRef($row->id);

3. Change it to :
Code:
$this->setCustomerInvoiceDescription('PREFIX_YOU_WANT'. $itemName); $this->setCustomerInvoiceRef('PREFIX_YOU_WANT'. $row->id);

After that, it will work as expected .

Tuan

Please Log in or Create an account to join the conversation.

  • joomlanz
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 5 months ago #18642 by joomlanz
Thanks - works great

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
13 years 5 months ago #18697 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Prefix on Invoice Reference and Invoice descriptio
Great. Thanks for confirming !

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc