Order number - Invoice number - Paypal

26.04.2021 14:55
#1
affseuropa
Joomshopping forum user no avatar
Name: Ulrike
17.02.2015
Posts: 40
Quote
Order number - Invoice number - Paypal

Hello Team!

How can I edit/set the "invoice number" in Joomshopping.
I can only set the "order number" in settings.

SOMETIMES problem arises when people pay by Paypal.
Paypal does not use the "order number" but a different "invoice number". The two numbers are not the same.

Because we have 3 shops it happens that sometimes this "invoice number" has already been paid. And therefore is rejected.
I hope you understand what I mean.

How can I set the (invisible) "invoice number"? In Joomshopping or in Paypal?

Thank you


JoomShopping: Version 4.18.5
Website Url: shop.keysofenoch.eu
 
26.04.2021 15:24
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25934
Quote
Aw: Order number - Invoice number - Paypal

No configuration.
Need to change the code
components\com_jshopping\payments\pm_paypal\pm_paypal.php

<input type='hidden' name='invoice' value='<?php print $order->order_id?>'>

change to (example)

<input type='hidden' name='invoice' value='IN-<?php print $order->order_id?>'>

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.