Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.36k stars 2.76k forks source link

TakePOS and Sumup integration #29452

Open simonmacias opened 5 months ago

simonmacias commented 5 months ago

Feature Request

Good morning,

I have a small suggestion regarding the use of the TakePOS module, in conjunction with a Sumup payment terminal.

When processing a Sumup payment, the URL used to initiate the payment on Sumup contains a title field, for example: sumupmerchant://....title=1143.... However, this field returns the invoice ID rather than the reference. For instance, the ID is "1143," while the invoice reference is "FA2404-0976."

This discrepancy significantly complicates reconciliation of Sumup transactions.

Do you think it would be an improvement to the system if users could choose which field to include in the title?

Have a good day, Simon

Use case

No response

Suggested implementation

No response

Suggested steps

No response

JonBendtsen commented 5 months ago

I think you might visit takepos.com and use their support / feature request system

HLFH commented 5 months ago

What you are talking about is https://github.com/Dolibarr/dolibarr/blob/develop/htdocs/takepos/pay.php. Line 51.

$invoiceid = GETPOSTINT('invoiceid');

And you want to change that.