Nessun risultato
Non ci sono oggetti corrispondenti alla tua ricerca... Controlla che l'ortografia delle parole sia corretta o espandi la ricerca per ottenere risultati!
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.
Questo argomento è datato oltre 6 mesi, non è più possibile rispondere.
Impostazioni dei cookie
Informazioni sui cookie
Il nostro sito utilizza i cookie per le seguenti finalità: fornirvi i servizi che avete richiesto, garantire la sicurezza della nostra piattaforma, ricordare le vostre preferenze per rendere più piacevole la vostra navigazione, compilare statistiche per adattare il nostro sito alle vostre esigenze, visualizzare video e permettervi di condividere contenuti sui social network.
Alcuni di questi cookie sono necessari per il funzionamento del nostro sito, altri possono essere impostati secondo le vostre preferenze.
Per saperne di più