Customer Carrier Service - Price

ssodano
New Member
2 0 0

I'm trying to implement a custom carrier service for many stores. The problem that i encountered is that in my server response i set price_total as 6.98 (for example) and currency EUR. When result of my custom carrier service appear as available choice, the price displayed (0.07) is worng. Can anyone help me ?

Example of my response :

{
    "rates": [
        {
            "description": "Consegna con PonyU oggi tra le 18:30 e le 19:30",
            "currency": "EUR",
            "service_name": "Consegna con PonyU oggi tra le 18:30 e le 19:30",
            "service_code": "IS",
            "total_price": 11.83,
            "min_delivery_date": 1607621400000,
            "max_delivery_date": 1607625000000
        },
        {
            "description": "Consegna con PonyU domani tra le 09:00 e le 23:00",
            "currency": "EUR",
            "service_name": "Consegna con PonyU domani tra le 09:00 e le 23:00",
            "service_code": "IS",
            "total_price": 6.97,
            "min_delivery_date": 1607587200000,
            "max_delivery_date": 1607569200000
        }
    ]
}

Cattura.JPG
0 Likes
_JB
Shopify Staff
Shopify Staff
834 98 188

Hey @ssodano,

The only thing I can think of is if you set a rate multiplier in the shop shipping settings. You can check this in the admin under Settings > Shipping > Manage Rates, and click the ... button beside your app's rate. If you see a number here, that means Shopify is applying a multiplier to the rate, removing the number should fix it up.

If there's no multiplier set, please provide a checkout URL where you're experiencing the issue, and we can investigate further.

JB | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes