Ningún resultado
No hay artículos que coincidan con su búsqueda... ¡Compruebe que la ortografía de las palabras es correcta o amplíe su búsqueda para obtener resultados!
since the introduction of the new pricing and service fee structure we're always adding 10% + 30 cents to each position of an order to calculate the total of an invoice.
In PHP it looks like this: `round($price * 1.1, 2) + 0.3;`
By default PHP is using the `PHP_ROUND_HALF_UP` method of rounding.
However, we've realized, that rarely it seems like the actual price showing up on the Delcampe website is the one that would be calculated by rounding DOWN, instead of UP. Today we've had another instance of that happening and we're assuming it happens when buyers are making a "lower bid".
Is it possible that your systems are typically rounding up, but in some edge cases (such as "lower bid" sells) it's rounding down instead?
If that's the case, and since we can't tell via the API if a selling happened via lower bid or via "regular" sale, is there any chance you could make this calculation act more consistent and predictable?
Not every customer pays 10 percent + 30 cents. Commercial customers with a VAT ID, for example, pay 8.4 percent plus 25 cents. The method therefore seems inaccurate even without rounding differences.
Can someone from Delcampe respond, please?
With the recent "50% off fixed platform fees" this has gotten even worse. Is there any way to get fee information via the API?
I’m not sure I fully understand the issue you’re describing. Could you provide a bit more context or explain in more detail? Specifically, it would be helpful to know what you are trying to achieve with the platform fees. This way, I can better assist you with finding a solution.
Este tema ha sido creado hace más de 6 meses, ya no puede responderle.
Configuración de las cookies
Información sobre las cookies
Nuestra web utiliza cookies con los siguientes fines: prestarle los servicios que nos haya solicitado, garantizar la seguridad de nuestra plataforma, recordar sus preferencias para hacer más agradable su navegación, elaborar estadísticas para adaptar nuestra web a sus necesidades, mostrar vídeos y permitirle compartir contenidos en las redes sociales.
Algunas de estas cookies son necesarias para el funcionamiento de nuestro sitio web, otras pueden establecerse según sus preferencias.
Más información