• Resolved wpuman

    (@wpuman)


    Hi,

    How to configure the carrier on ‘LAPOSTE’. This is not available in the ‘ppcp-tracking-carrier’ list on the order page. And is it possible to add this default carrier?

    Can we also automatically give the value of a META custom field for the tracking number ‘ppcp-tracking[tracking_number]’?

    Many Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @wpuman,

    All of the carriers provided by PayPal (including LAPOSTE) are integrated into the plugin:

    This should appear automatically when your WooCommerce store location is set to France.
    But you can also add your own carriers or shipment statuses with a filter to extend the list.

    Can we also automatically give the value of a META custom field for the tracking number ‘ppcp-tracking[tracking_number]’?

    There is no filter for the tracking number in the current version, but this should be included in the next update.

    Kind regards,
    Niklas

    Thread Starter wpuman

    (@wpuman)

    Hi @niklasinpsyde,

    My Region is ‘RE’ for Reunion Island. The plugin seems not to consider this region as French… and therefore does not display ‘FR’ carriers.

    The payment button as well as the PayPal payment page is also not in French.
    Is there a filter to change “region”, language to ‘FR’ ?

    Thank you

    • This reply was modified 2 years, 2 months ago by wpuman.
    • This reply was modified 2 years, 2 months ago by wpuman.
    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @wpuman,

    No carriers are specified for Reunion, and from the WooCommerce perspective, Reunion and France are two different locations. The integration displays a list of the carriers for the configured WooCommerce store location and global carriers. But you could add carriers for Reunion with a filter like this:

    add_filter('ppcp_tracking_carriers', static function(array $carriers): array {
        $carriers['RE']['items']['LAPOSTE'] = 'LA Poste';
        return $carriers;
    });

    PayPal automatically determines the language for the button and PayPal interface for each user individually. This can depend on PayPal cookies in the browser, browser preferences, or geolocation.
    There is a feature request to override the language here on Github but in most cases, the language displayed should be correct for the user.

    Kind regards,
    Niklas

    Thread Starter wpuman

    (@wpuman)

    Many Thanks @niklasinpsyde
    Kind regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Tracking carrier is not available’ is closed to new replies.