[Skip to main content](#vessel-content)

#   Can't retrieve invoice number for payment plugin..

##

- **[zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")**
- [![zaratustra27's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7005-zaratustra27 "View zaratustra27's Profile") Topic Author
- [ Offline](/forum/user/7005-zaratustra27)

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 11 months ago -  12 years 9 months ago [\#133636](#133636) by [zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")  *[Can't retrieve invoice number for payment plugin..](/forum/29-payment-methods/863820-cant-retrieve-invoice-number-for-payment-plugin#133636 "Hi,  I have upgraded from J1.5 to J3.1.1 and HSB 2.2.2. I had a third party payment plugin for VirtualMerchant/Elavon. I updated the plugin code the better I could and sorted multiple errors but I keep getting the following one from elavon when I try to pay with credit card:  'rName=Required Field Not Supplied errorMessage=The field Invoice Number (ssl&#95;invoice&#95;number) required but not supplied in the auth'  The code for retrieving invoice number in plugin script, as part of an array, is:  'ssl&#95;invoice&#95;number' =&gt; $order-&gt;order&#95;invoice&#95;number, line169  However, $order-&gt;order&#95;invoice&#95;number value seems to be empty. I also added 'created' to Invoice order statuses configuration.  My PHP version is 5.3.27. I attached the plugin script  Thanks in advance")* was created by *[zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")*

Hi,

I have upgraded from J1.5 to J3.1.1 and HSB 2.2.2. I had a third party payment plugin for VirtualMerchant/Elavon. I updated the plugin code the better I could and sorted multiple errors but I keep getting the following one from elavon when I try to pay with credit card:

'rName=Required Field Not Supplied errorMessage=The field Invoice Number (ssl_invoice_number) required but not supplied in the auth'

The code for retrieving invoice number in plugin script, as part of an array, is:

'ssl_invoice_number' =&gt; $order-&gt;order_invoice_number, line169

However, $order-&gt;order_invoice_number value seems to be empty. I also added 'created' to Invoice order statuses configuration.

My PHP version is 5.3.27. I attached the plugin script

Thanks in advance

Last edit: 12 years 9 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjM4MjAtY2FudC1yZXRyaWV2ZS1pbnZvaWNlLW51bWJlci1mb3ItcGF5bWVudC1wbHVnaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Online](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14293
-
-

12 years 11 months ago [\#133948](#133948) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Can't retrieve invoice number for payment plugin..](/forum/29-payment-methods/863820-cant-retrieve-invoice-number-for-payment-plugin#133948 "Hi,  I have upgraded from J1.5 to J3.1.1 and HSB 2.2.2. I had a third party payment plugin for VirtualMerchant/Elavon. I updated the plugin code the better I could and sorted multiple errors but I keep getting the following one from elavon when I try to pay with credit card:  'rName=Required Field Not Supplied errorMessage=The field Invoice Number (ssl&#95;invoice&#95;number) required but not supplied in the auth'  The code for retrieving invoice number in plugin script, as part of an array, is:  'ssl&#95;invoice&#95;number' =&gt; $order-&gt;order&#95;invoice&#95;number, line169  However, $order-&gt;order&#95;invoice&#95;number value seems to be empty. I also added 'created' to Invoice order statuses configuration.  My PHP version is 5.3.27. I attached the plugin script  Thanks in advance")*

Hi,

I'm not sure if you know by HikaShop already includes a VirtualMerchant payment plugin by default, and what's even better, it works great ! ![:)](/media/kunena/emoticons/3.png ":)")
Why not simply configure it instead of trying to port your custom made plugin ?

You can do that via the menu System&gt;Payment methods, by creating a new one.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjM4MjAtY2FudC1yZXRyaWV2ZS1pbnZvaWNlLW51bWJlci1mb3ItcGF5bWVudC1wbHVnaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")**
- [![zaratustra27's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7005-zaratustra27 "View zaratustra27's Profile") Topic Author
- [ Offline](/forum/user/7005-zaratustra27)

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 11 months ago -  12 years 9 months ago [\#133998](#133998) by [zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")  Replied by *[zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")* on topic *[Can't retrieve invoice number for payment plugin..](/forum/29-payment-methods/863820-cant-retrieve-invoice-number-for-payment-plugin#133998 "Hi,  I have upgraded from J1.5 to J3.1.1 and HSB 2.2.2. I had a third party payment plugin for VirtualMerchant/Elavon. I updated the plugin code the better I could and sorted multiple errors but I keep getting the following one from elavon when I try to pay with credit card:  'rName=Required Field Not Supplied errorMessage=The field Invoice Number (ssl&#95;invoice&#95;number) required but not supplied in the auth'  The code for retrieving invoice number in plugin script, as part of an array, is:  'ssl&#95;invoice&#95;number' =&gt; $order-&gt;order&#95;invoice&#95;number, line169  However, $order-&gt;order&#95;invoice&#95;number value seems to be empty. I also added 'created' to Invoice order statuses configuration.  My PHP version is 5.3.27. I attached the plugin script  Thanks in advance")*

I tried, but I keep getting the following message

'An error ocurred'

I attach your virtualMerchant plugin settings, Greetings,

Last edit: 12 years 9 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjM4MjAtY2FudC1yZXRyaWV2ZS1pbnZvaWNlLW51bWJlci1mb3ItcGF5bWVudC1wbHVnaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Online](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14293
-
-

12 years 11 months ago [\#134372](#134372) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Can't retrieve invoice number for payment plugin..](/forum/29-payment-methods/863820-cant-retrieve-invoice-number-for-payment-plugin#134372 "Hi,  I have upgraded from J1.5 to J3.1.1 and HSB 2.2.2. I had a third party payment plugin for VirtualMerchant/Elavon. I updated the plugin code the better I could and sorted multiple errors but I keep getting the following one from elavon when I try to pay with credit card:  'rName=Required Field Not Supplied errorMessage=The field Invoice Number (ssl&#95;invoice&#95;number) required but not supplied in the auth'  The code for retrieving invoice number in plugin script, as part of an array, is:  'ssl&#95;invoice&#95;number' =&gt; $order-&gt;order&#95;invoice&#95;number, line169  However, $order-&gt;order&#95;invoice&#95;number value seems to be empty. I also added 'created' to Invoice order statuses configuration.  My PHP version is 5.3.27. I attached the plugin script  Thanks in advance")*

Don't you have other debug message on the page since you have the debug option turned on ?
Normally, it should display more things.
If not, change the line:
echo print_r($ret, true)."\n\n\n";
to:
echo print_r($ret, true)."\n\n\n";exit;

in plugins/hikashoppayment/virtualmerchant/virtualmerchant.php and that will display the return data from the payment gateway on a blank page and that should include the error message epxlaining what's wrong.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjM4MjAtY2FudC1yZXRyaWV2ZS1pbnZvaWNlLW51bWJlci1mb3ItcGF5bWVudC1wbHVnaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")**
- [![zaratustra27's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7005-zaratustra27 "View zaratustra27's Profile") Topic Author
- [ Offline](/forum/user/7005-zaratustra27)

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 11 months ago [\#134452](#134452) by [zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")  Replied by *[zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")* on topic *[Can't retrieve invoice number for payment plugin..](/forum/29-payment-methods/863820-cant-retrieve-invoice-number-for-payment-plugin#134452 "Hi,  I have upgraded from J1.5 to J3.1.1 and HSB 2.2.2. I had a third party payment plugin for VirtualMerchant/Elavon. I updated the plugin code the better I could and sorted multiple errors but I keep getting the following one from elavon when I try to pay with credit card:  'rName=Required Field Not Supplied errorMessage=The field Invoice Number (ssl&#95;invoice&#95;number) required but not supplied in the auth'  The code for retrieving invoice number in plugin script, as part of an array, is:  'ssl&#95;invoice&#95;number' =&gt; $order-&gt;order&#95;invoice&#95;number, line169  However, $order-&gt;order&#95;invoice&#95;number value seems to be empty. I also added 'created' to Invoice order statuses configuration.  My PHP version is 5.3.27. I attached the plugin script  Thanks in advance")*

Ok, I've got the following error:

586246webpage9BMTW3TrueCCSALEFalse**************06151.000.001***1062AlvaroGuachilemaaguachilema@yahoo.com Array ( [errorCode] =&gt; 4012 [errorName] =&gt; VID/UID Invalid [errorMessage] =&gt; The VirtualMerchant ID and/or User ID supplied in the authorization request is invalid. )

I'm pretty sure my VID/UID are right but I'll check with VM. Thank you

My page is at a subdirectory of main domain right now. Would it be a problem?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjM4MjAtY2FudC1yZXRyaWV2ZS1pbnZvaWNlLW51bWJlci1mb3ItcGF5bWVudC1wbHVnaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4077
-
- [](http://obsi.dev)
-

12 years 11 months ago [\#134479](#134479) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Can't retrieve invoice number for payment plugin..](/forum/29-payment-methods/863820-cant-retrieve-invoice-number-for-payment-plugin#134479 "Hi,  I have upgraded from J1.5 to J3.1.1 and HSB 2.2.2. I had a third party payment plugin for VirtualMerchant/Elavon. I updated the plugin code the better I could and sorted multiple errors but I keep getting the following one from elavon when I try to pay with credit card:  'rName=Required Field Not Supplied errorMessage=The field Invoice Number (ssl&#95;invoice&#95;number) required but not supplied in the auth'  The code for retrieving invoice number in plugin script, as part of an array, is:  'ssl&#95;invoice&#95;number' =&gt; $order-&gt;order&#95;invoice&#95;number, line169  However, $order-&gt;order&#95;invoice&#95;number value seems to be empty. I also added 'created' to Invoice order statuses configuration.  My PHP version is 5.3.27. I attached the plugin script  Thanks in advance")*

Hi,

Nicolas forgot one little thing.
If you are in debug mode, you will be in "test mode". It means that you will have to use a test account.
If you want to keep having the debug trace but use your production account, you have to modify this: Code:

if($this-&gt;payment_params-&gt;debug) { $url = 'demo.myvirtualmerchant.com/VirtualMerchantDemo/processxml.do'; } else { $url = 'www.myvirtualmerchant.com/VirtualMerchant/processxml.do'; }

Into this: Code:

if(false) { $url = 'demo.myvirtualmerchant.com/VirtualMerchantDemo/processxml.do'; } else { $url = 'www.myvirtualmerchant.com/VirtualMerchant/processxml.do'; }

It will force the production server for you tests.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjM4MjAtY2FudC1yZXRyaWV2ZS1pbnZvaWNlLW51bWJlci1mb3ItcGF5bWVudC1wbHVnaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")**
- [![zaratustra27's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7005-zaratustra27 "View zaratustra27's Profile") Topic Author
- [ Offline](/forum/user/7005-zaratustra27)

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 10 months ago [\#136745](#136745) by [zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")  Replied by *[zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")* on topic *[Can't retrieve invoice number for payment plugin..](/forum/29-payment-methods/863820-cant-retrieve-invoice-number-for-payment-plugin#136745 "Hi,  I have upgraded from J1.5 to J3.1.1 and HSB 2.2.2. I had a third party payment plugin for VirtualMerchant/Elavon. I updated the plugin code the better I could and sorted multiple errors but I keep getting the following one from elavon when I try to pay with credit card:  'rName=Required Field Not Supplied errorMessage=The field Invoice Number (ssl&#95;invoice&#95;number) required but not supplied in the auth'  The code for retrieving invoice number in plugin script, as part of an array, is:  'ssl&#95;invoice&#95;number' =&gt; $order-&gt;order&#95;invoice&#95;number, line169  However, $order-&gt;order&#95;invoice&#95;number value seems to be empty. I also added 'created' to Invoice order statuses configuration.  My PHP version is 5.3.27. I attached the plugin script  Thanks in advance")*

Thank you, I successfully sorted out payment issues, however, I want to change order confirmation email but I can't find the respective string in language file. For example:

Summary of your order
Name Unit price Qty Total

test item
$1.00 2 $2.00
Final total $2.00

Payment method : Credit Card

Your will receive an invoice for 2

Once again, thank you for your order at [ beerinsights.com/joomla3/](http://beerinsights.com/joomla3/). We hope to see you again soon.
Best regards,

I want to change 'You will receive an invoice' text, I successfully modified messages for payment on delivery and by check, but curiously, credit card text is not included in the same place.

Thanks in advance

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjM4MjAtY2FudC1yZXRyaWV2ZS1pbnZvaWNlLW51bWJlci1mb3ItcGF5bWVudC1wbHVnaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Online](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14293
-
-

12 years 10 months ago [\#136785](#136785) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Can't retrieve invoice number for payment plugin..](/forum/29-payment-methods/863820-cant-retrieve-invoice-number-for-payment-plugin#136785 "Hi,  I have upgraded from J1.5 to J3.1.1 and HSB 2.2.2. I had a third party payment plugin for VirtualMerchant/Elavon. I updated the plugin code the better I could and sorted multiple errors but I keep getting the following one from elavon when I try to pay with credit card:  'rName=Required Field Not Supplied errorMessage=The field Invoice Number (ssl&#95;invoice&#95;number) required but not supplied in the auth'  The code for retrieving invoice number in plugin script, as part of an array, is:  'ssl&#95;invoice&#95;number' =&gt; $order-&gt;order&#95;invoice&#95;number, line169  However, $order-&gt;order&#95;invoice&#95;number value seems to be empty. I also added 'created' to Invoice order statuses configuration.  My PHP version is 5.3.27. I attached the plugin script  Thanks in advance")*

All the modifiable text of HikaShop is in the translation file.
There is no text "You will receive an invoice" in HikaShop by default. You must have added it somewhere yourself. Hard to say where but you should know better than us ![:)](/media/kunena/emoticons/3.png ":)")

The following user(s) said Thank You: [zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjM4MjAtY2FudC1yZXRyaWV2ZS1pbnZvaWNlLW51bWJlci1mb3ItcGF5bWVudC1wbHVnaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")**
- [![zaratustra27's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7005-zaratustra27 "View zaratustra27's Profile") Topic Author
- [ Offline](/forum/user/7005-zaratustra27)

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 9 months ago [\#141264](#141264) by [zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")  Replied by *[zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")* on topic *[Can't retrieve invoice number for payment plugin..](/forum/29-payment-methods/863820-cant-retrieve-invoice-number-for-payment-plugin#141264 "Hi,  I have upgraded from J1.5 to J3.1.1 and HSB 2.2.2. I had a third party payment plugin for VirtualMerchant/Elavon. I updated the plugin code the better I could and sorted multiple errors but I keep getting the following one from elavon when I try to pay with credit card:  'rName=Required Field Not Supplied errorMessage=The field Invoice Number (ssl&#95;invoice&#95;number) required but not supplied in the auth'  The code for retrieving invoice number in plugin script, as part of an array, is:  'ssl&#95;invoice&#95;number' =&gt; $order-&gt;order&#95;invoice&#95;number, line169  However, $order-&gt;order&#95;invoice&#95;number value seems to be empty. I also added 'created' to Invoice order statuses configuration.  My PHP version is 5.3.27. I attached the plugin script  Thanks in advance")*

Thanks, you were right about strings, I already changed some text and got lost.

Payment goes fine now except for a detail: Plugin doesn't pass to Elavon the following info:

- Products ordered
- Invoice #

It's not necessary to have both but at least one of them. Previous J1.5 plugin from a 3rd party dev did.

Thanks a lot

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjM4MjAtY2FudC1yZXRyaWV2ZS1pbnZvaWNlLW51bWJlci1mb3ItcGF5bWVudC1wbHVnaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4077
-
- [](http://obsi.dev)
-

12 years 9 months ago -  12 years 9 months ago [\#141323](#141323) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Can't retrieve invoice number for payment plugin..](/forum/29-payment-methods/863820-cant-retrieve-invoice-number-for-payment-plugin#141323 "Hi,  I have upgraded from J1.5 to J3.1.1 and HSB 2.2.2. I had a third party payment plugin for VirtualMerchant/Elavon. I updated the plugin code the better I could and sorted multiple errors but I keep getting the following one from elavon when I try to pay with credit card:  'rName=Required Field Not Supplied errorMessage=The field Invoice Number (ssl&#95;invoice&#95;number) required but not supplied in the auth'  The code for retrieving invoice number in plugin script, as part of an array, is:  'ssl&#95;invoice&#95;number' =&gt; $order-&gt;order&#95;invoice&#95;number, line169  However, $order-&gt;order&#95;invoice&#95;number value seems to be empty. I also added 'created' to Invoice order statuses configuration.  My PHP version is 5.3.27. I attached the plugin script  Thanks in advance")*

Hi,

It is not possible to pass the invoice # to Elavon because we call the payment method before the creation of the order.
It means that we do not have yet the invoice number, we can make a supposition of what the value will be, but it is possible that it won't be the real final invoice number (and order number).

After that, I checked the Virtual Merchant API documentation and there is no entry for the "products ordered". So, for what I have in the documentation, it's not possible.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Last edit: 12 years 9 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjM4MjAtY2FudC1yZXRyaWV2ZS1pbnZvaWNlLW51bWJlci1mb3ItcGF5bWVudC1wbHVnaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")**
- [![zaratustra27's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7005-zaratustra27 "View zaratustra27's Profile") Topic Author
- [ Offline](/forum/user/7005-zaratustra27)

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 9 months ago [\#141340](#141340) by [zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")  Replied by *[zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")* on topic *[Can't retrieve invoice number for payment plugin..](/forum/29-payment-methods/863820-cant-retrieve-invoice-number-for-payment-plugin#141340 "Hi,  I have upgraded from J1.5 to J3.1.1 and HSB 2.2.2. I had a third party payment plugin for VirtualMerchant/Elavon. I updated the plugin code the better I could and sorted multiple errors but I keep getting the following one from elavon when I try to pay with credit card:  'rName=Required Field Not Supplied errorMessage=The field Invoice Number (ssl&#95;invoice&#95;number) required but not supplied in the auth'  The code for retrieving invoice number in plugin script, as part of an array, is:  'ssl&#95;invoice&#95;number' =&gt; $order-&gt;order&#95;invoice&#95;number, line169  However, $order-&gt;order&#95;invoice&#95;number value seems to be empty. I also added 'created' to Invoice order statuses configuration.  My PHP version is 5.3.27. I attached the plugin script  Thanks in advance")*

Maybe I didn't explain the problem correctly, I copy-paste client's requirement:

"If someone completes the 'Pay an Invoice' form, both an invoice # and product name will be present, and should be passed to Elavon/Virtual Merchant.

If someone completes the shopping cart, then only the product name(s) will be present, but not an invoice #. Note that the customer might have purchased more than one product, in which case we'd need all of the product names that were in the cart to be passed to Elavon/Virtual Merchant."

If I correctly recall, previous plugin for J1.5 (developed by a 3rd party) could send that info.

Thanks for all your help

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjM4MjAtY2FudC1yZXRyaWV2ZS1pbnZvaWNlLW51bWJlci1mb3ItcGF5bWVudC1wbHVnaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[RobinS](/forum/user/14108-robins "View RobinS's Profile")**
- [![RobinS's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14108-robins "View RobinS's Profile")
- [ Offline](/forum/user/14108-robins)

Less More

- Posts: 20
- Thank you received: 0
-
-

12 years 9 months ago -  12 years 8 months ago [\#141492](#141492) by [RobinS](/forum/user/14108-robins "View RobinS's Profile")  Replied by *[RobinS](/forum/user/14108-robins "View RobinS's Profile")* on topic *[payment plugin..](/forum/29-payment-methods/863820-cant-retrieve-invoice-number-for-payment-plugin#141492 "Hi,  I have upgraded from J1.5 to J3.1.1 and HSB 2.2.2. I had a third party payment plugin for VirtualMerchant/Elavon. I updated the plugin code the better I could and sorted multiple errors but I keep getting the following one from elavon when I try to pay with credit card:  'rName=Required Field Not Supplied errorMessage=The field Invoice Number (ssl&#95;invoice&#95;number) required but not supplied in the auth'  The code for retrieving invoice number in plugin script, as part of an array, is:  'ssl&#95;invoice&#95;number' =&gt; $order-&gt;order&#95;invoice&#95;number, line169  However, $order-&gt;order&#95;invoice&#95;number value seems to be empty. I also added 'created' to Invoice order statuses configuration.  My PHP version is 5.3.27. I attached the plugin script  Thanks in advance")*

How do we pass the product name(s) to Virtual Merchant so that we know what the customer is paying for (so that the product name(s) appear in back-end reports from Elavon/Virtual Merchant)?

This feature was available in the Black Table Media module which we previously used to pass Hika Shop information to Elavon/Virtual Merchant. But, since Black Table Media is not updating the module for Joomla and Hika Shop upgrades, we switched to the integrated Virtual Merchant payment plugin.

BUT - we need to know what products are purchased, to allocate credit card payments correctly.

HOW can the code in the module be modified to include the product name(s)?

&gt; [ www.hikashop.com/forum/payment-methods/8...irtual-merchant.html](http://www.hikashop.com/forum/payment-methods/865438-pass-product-name-s-purchased-to-virtual-merchant.html)

Last edit: 12 years 8 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjM4MjAtY2FudC1yZXRyaWV2ZS1pbnZvaWNlLW51bWJlci1mb3ItcGF5bWVudC1wbHVnaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.080 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
