• Resolved ken20171212

    (@ken20171212)


    Hi there,

    I am a newbie developer working for my internship and currently my leader assigned me to fix some website issues.

    For the website I am working with, the unexpected high shipping rates displayed in the Cart and Checkout page (for example, shipping from Hong Kong to Melbourne Australia, a T-shirt which only worth AUD $29 requiring more than $300 for the shipping rate calculation). After I check the debug mode report, it seems like the problem is because the response shipping rate currency is using HKD as currency even though the Currency has been set up as Australian dollar ($) in the currency option.

    The different of the currency (the price of the item using AUD, the response shipping rate currency is HKD) has made the final shipping fee calculation show out an incorrect result.

    Hope anyone could help me to solve this problem.

    Following is the system status:”

    
    ### WordPress Environment ###
    
    Home URL: https://addw.co/woo
    Site URL: https://addw.co/woo
    WC Version: 3.2.6
    Log Directory Writable: ?
    WP Version: 4.9.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.0.26
    PHP Post Max Size: 64 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 3000
    cURL Version: 7.54.0
    OpenSSL/1.0.2k
    
    SUHOSIN Installed: –
    Max Upload Size: 64 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 3.2.6
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ? The MaxMind GeoIP Database does not exist - Geolocation will not function. You can download and install it manually from https://dev.maxmind.com/geoip/legacy/geolite/ to the path: . Scroll down to "Downloads" and download the "Binary / gzip" file next to "GeoLite Country". Please remember to uncompress GeoIP.dat.gz and upload the GeoIP.dat file only.
    Total Database Size: 6.94MB
    Database Data Size: 6.23MB
    Database Index Size: 0.71MB
    wp_woocommerce_sessions: Data: 2.29MB + Index: 0.00MB
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB
    wp_commentmeta: Data: 0.00MB + Index: 0.01MB
    wp_comments: Data: 0.00MB + Index: 0.01MB
    wp_duplicator_packages: Data: 0.00MB + Index: 0.00MB
    wp_links: Data: 0.00MB + Index: 0.00MB
    wp_options: Data: 0.77MB + Index: 0.04MB
    wp_postmeta: Data: 0.16MB + Index: 0.11MB
    wp_posts: Data: 0.52MB + Index: 0.04MB
    wp_social_users: Data: 0.00MB + Index: 0.00MB
    wp_termmeta: Data: 0.00MB + Index: 0.01MB
    wp_terms: Data: 0.00MB + Index: 0.01MB
    wp_term_relationships: Data: 0.01MB + Index: 0.02MB
    wp_term_taxonomy: Data: 0.00MB + Index: 0.01MB
    wp_usermeta: Data: 0.01MB + Index: 0.01MB
    wp_users: Data: 0.00MB + Index: 0.01MB
    wp_wfBadLeechers: Data: 0.00MB + Index: 0.00MB
    wp_wfBlockedCommentLog: Data: 0.00MB + Index: 0.00MB
    wp_wfBlockedIPLog: Data: 0.00MB + Index: 0.00MB
    wp_wfBlocks: Data: 0.00MB + Index: 0.00MB
    wp_wfBlocksAdv: Data: 0.00MB + Index: 0.00MB
    wp_wfConfig: Data: 0.23MB + Index: 0.01MB
    wp_wfCrawlers: Data: 0.00MB + Index: 0.00MB
    wp_wfFileMods: Data: 1.35MB + Index: 0.27MB
    wp_wfHits: Data: 0.08MB + Index: 0.02MB
    wp_wfHoover: Data: 0.00MB + Index: 0.00MB
    wp_wfIssues: Data: 0.01MB + Index: 0.00MB
    wp_wfKnownFileList: Data: 0.71MB + Index: 0.08MB
    wp_wfLeechers: Data: 0.00MB + Index: 0.00MB
    wp_wfLockedOut: Data: 0.00MB + Index: 0.00MB
    wp_wfLocs: Data: 0.00MB + Index: 0.00MB
    wp_wfLogins: Data: 0.00MB + Index: 0.00MB
    wp_wfNet404s: Data: 0.00MB + Index: 0.00MB
    wp_wfNotifications: Data: 0.00MB + Index: 0.00MB
    wp_wfPendingIssues: Data: 0.00MB + Index: 0.00MB
    wp_wfReverseCache: Data: 0.00MB + Index: 0.00MB
    wp_wfScanners: Data: 0.00MB + Index: 0.00MB
    wp_wfSNIPCache: Data: 0.00MB + Index: 0.00MB
    wp_wfStatus: Data: 0.09MB + Index: 0.04MB
    wp_wfThrottleLog: Data: 0.00MB + Index: 0.00MB
    wp_wfVulnScanners: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_table_rates: Data: 0.00MB + Index: 0.00MB
    wp_yith_wcwl: Data: 0.00MB + Index: 0.00MB
    wp_yith_wcwl_lists: Data: 0.00MB + Index: 0.01MB
    
    ### Post Type Counts ###
    
    attachment: 3
    blocks: 8
    featured_item: 8
    nav_menu_item: 38
    page: 78
    post: 10
    product: 58
    revision: 67
    shop_order: 2
    wpcf7_contact_form: 5
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (18) ###
    
    Accelerated Mobile Pages: by Ahmed Kaludi
    Mohammed Kaludi – 0.9.71
    
    Contact Form 7: by Takayuki Miyoshi – 4.9.2
    Watson Conversation: by IBM Cognitive Class – 0.4.1
    Duplicator: by Snap Creek – 1.2.30
    Elementor: by Elementor.com – 1.8.10
    FedEx WooCommerce Extension (BASIC): by XAdapter – 2.0.9 – Not tested with the active version of WooCommerce
    Nextend Facebook Connect: by Nextendweb – 2.0.2
    Nextend Google Connect: by Roland Soos
    Jamie Bainbridge – 1.6.1
    
    Really Simple SSL: by Rogier Lankhorst – 2.5.24
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 2.3.1
    TWB Woocommerce Reviews: by Abu Bakar – 1.6 – Not tested with the active version of WooCommerce
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.13.16
    
    Woo Product Slider and Carousel with category: by WP Online Support – 1.2 – Not tested with the active version of WooCommerce
    WooCommerce ANZ eGate Gateway: by WooCommerce – 2.1.5 – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.2.6
    WooSidebars: by WooThemes – 1.4.3
    Wordfence Security: by Wordfence – 6.3.22
    YITH WooCommerce Wishlist: by YITHEMES – 2.1.2 – Not tested with the active version of WooCommerce
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: ?
    Currency: AUD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Shop base: #62 - /shop/
    Cart: #61 - /cart/
    Checkout: #60 - /checkout/
    My account: #59 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Flatsome Child
    Version: 3.0
    Author URL: 
    Child Theme: ?
    Parent Theme Name: Flatsome
    Parent Theme Version: 3.4.2
    Parent Theme Author URL: https://www.uxthemes.com/
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: flatsome/woocommerce/archive-product.php
    flatsome/woocommerce/cart/cart-empty.php
    flatsome/woocommerce/cart/cart.php
    flatsome/woocommerce/checkout/form-checkout.php
    flatsome/woocommerce/checkout/form-coupon.php
    flatsome/woocommerce/checkout/thankyou.php
    flatsome/woocommerce/content-product.php
    flatsome/woocommerce/content-product_cat.php
    flatsome/woocommerce/content-single-product.php
    flatsome/woocommerce/global/breadcrumb.php
    flatsome/woocommerce/global/quantity-input.php
    flatsome/woocommerce/global/wrapper-end.php
    flatsome/woocommerce/global/wrapper-start.php
    flatsome/woocommerce/loop/loop-end.php
    flatsome/woocommerce/loop/loop-start.php
    flatsome/woocommerce/loop/orderby.php
    flatsome/woocommerce/loop/pagination.php
    flatsome/woocommerce/loop/result-count.php
    flatsome/woocommerce/loop/sale-flash.php
    flatsome/woocommerce/myaccount/form-login.php
    flatsome/woocommerce/myaccount/navigation.php
    flatsome/woocommerce/notices/error.php
    flatsome/woocommerce/notices/notice.php
    flatsome/woocommerce/notices/success.php
    flatsome/woocommerce/product-searchform.php
    flatsome/woocommerce/single-product/photoswipe.php
    flatsome/woocommerce/single-product/price.php
    flatsome/woocommerce/single-product/product-image.php
    flatsome/woocommerce/single-product/product-thumbnails.php
    flatsome/woocommerce/single-product/related.php
    flatsome/woocommerce/single-product/review.php
    flatsome/woocommerce/single-product/sale-flash.php
    flatsome/woocommerce/single-product/share.php
    flatsome/woocommerce/single-product/short-description.php
    flatsome/woocommerce/single-product/tabs/tabs.php
    flatsome/woocommerce/single-product/title.php
    flatsome/woocommerce/single-product/up-sells.php
    flatsome/woocommerce/single-product-reviews.php
    flatsome/woocommerce/single-product.php
    
    

    And following is the debug mode report:”
    Customer matched zone “Locations not covered by your other zones”
    FEDEX debug mode is on – to hide these messages, turn debug mode off in the settings.

    FedEx ADDRESS VALIDATION REQUEST: 
    Array 
    ( 
    [WebAuthenticationDetail] => Array 
    ( 
    [UserCredential] => Array 
    ( 
    [Key] => yf47uEZo9LAFaHnx 
    [Password] => pUTroF2qk2WV6xzVH0a8RT7Wg 
    )
    
    )
    
    [ClientDetail] => Array 
    ( 
    [AccountNumber] => 985830398 
    [MeterNumber] => 112004088 
    )
    
    [TransactionDetail] => Array 
    ( 
    [CustomerTransactionId] => *** Address Validation Request v2 from WooCommerce *** 
    )
    
    [Version] => Array 
    ( 
    [ServiceId] => aval 
    [Major] => 2 
    [Intermediate] => 0 
    [Minor] => 0 
    )
    
    [RequestTimestamp] => 2017-12-21T05:38:49+00:00 
    [Options] => Array 
    ( 
    [CheckResidentialStatus] => 1 
    [MaximumNumberOfMatches] => 1 
    [StreetAccuracy] => LOOSE 
    [DirectionalAccuracy] => LOOSE 
    [CompanyNameAccuracy] => LOOSE 
    [ConvertToUpperCase] => 1 
    [RecognizeAlternateCityNames] => 1 
    [ReturnParsedElements] => 1 
    )
    
    [AddressesToValidate] => Array 
    ( 
    [0] => Array 
    ( 
    [AddressId] => WTC 
    [Address] => Array 
    ( 
    [StreetLines] => Array 
    ( 
    [0] => 100 Franklin street 
    [1] => 
    )
    
    [PostalCode] => 3000 
    )
    
    )
    
    )
    
    ) 
    FedEx ADDRESS VALIDATION RESPONSE: 
    stdClass Object 
    ( 
    [HighestSeverity] => SUCCESS 
    [Notifications] => stdClass Object 
    ( 
    [Severity] => SUCCESS 
    [Source] => wsi 
    )
    
    [TransactionDetail] => stdClass Object 
    ( 
    [CustomerTransactionId] => *** Address Validation Request v2 from WooCommerce *** 
    [Localization] => stdClass Object 
    ( 
    [LanguageCode] => 
    )
    
    )
    
    [Version] => stdClass Object 
    ( 
    [ServiceId] => aval 
    [Major] => 2 
    [Intermediate] => 0 
    [Minor] => 0 
    )
    
    [ReplyTimestamp] => 2017-12-20T23:38:50-06:00 
    [AddressResults] => stdClass Object 
    ( 
    [AddressId] => WTC 
    [ProposedAddressDetails] => stdClass Object 
    ( 
    [Score] => 
    [Changes] => SERVICE_UNAVAILABLE_FOR_ADDRESS 
    [ResidentialStatus] => UNDETERMINED 
    [DeliveryPointValidation] => UNAVAILABLE 
    [Address] => stdClass Object 
    ( 
    [City] => 
    [StateOrProvinceCode] => 
    [PostalCode] => 3000 
    )
    
    [RemovedNonAddressData] => 
    )
    
    )
    
    ) 
    Business Address 
    FedEx REQUEST: 
    Array 
    ( 
    [WebAuthenticationDetail] => Array 
    ( 
    [UserCredential] => Array 
    ( 
    [Key] => yf47uEZo9LAFaHnx 
    [Password] => pUTroF2qk2WV6xzVH0a8RT7Wg 
    )
    
    )
    
    [ClientDetail] => Array 
    ( 
    [AccountNumber] => 985830398 
    [MeterNumber] => 112004088 
    )
    
    [TransactionDetail] => Array 
    ( 
    [CustomerTransactionId] => *** WooCommerce Rate Request *** 
    )
    
    [Version] => Array 
    ( 
    [ServiceId] => crs 
    [Major] => 16 
    [Intermediate] => 0 
    [Minor] => 0 
    )
    
    [RequestedShipment] => Array 
    ( 
    [PreferredCurrency] => AUD 
    [DropoffType] => REGULAR_PICKUP 
    [ShipTimestamp] => 2017-12-22T00:00:00+00:00 
    [PackagingType] => YOUR_PACKAGING 
    [Shipper] => Array 
    ( 
    [Address] => Array 
    ( 
    [PostalCode] => HONGKONG 
    [CountryCode] => HK 
    )
    
    )
    
    [ShippingChargesPayment] => Array 
    ( 
    [PaymentType] => SENDER 
    [Payor] => Array 
    ( 
    [ResponsibleParty] => Array 
    ( 
    [AccountNumber] => 985830398 
    [CountryCode] => HK 
    )
    
    )
    
    )
    
    [RateRequestTypes] => LIST 
    [Recipient] => Array 
    ( 
    [Address] => Array 
    ( 
    [Residential] => 
    [PostalCode] => 3000 
    [City] => MELBOURNE 
    [StateOrProvinceCode] => 
    [CountryCode] => AU 
    )
    
    )
    
    [RequestedPackageLineItems] => Array 
    ( 
    [0] => Array 
    ( 
    [SequenceNumber] => 1 
    [GroupNumber] => 1 
    [GroupPackageCount] => 1 
    [Weight] => Array 
    ( 
    [Value] => 1 
    [Units] => KG 
    )
    
    [Dimensions] => Array 
    ( 
    [Length] => 100 
    [Width] => 50 
    [Height] => 1 
    [Units] => CM 
    )
    
    [InsuredValue] => Array 
    ( 
    [Amount] => 29 
    [Currency] => AUD 
    )
    
    )
    
    )
    
    [PackageCount] => 1 
    [TotalInsuredValue] => Array 
    ( 
    [Amount] => 29 
    [Currency] => AUD 
    )
    
    [CustomsClearanceDetail] => Array 
    ( 
    [DutiesPayment] => Array 
    ( 
    [PaymentType] => SENDER 
    [Payor] => Array 
    ( 
    [ResponsibleParty] => Array 
    ( 
    [AccountNumber] => 985830398 
    [CountryCode] => HK 
    )
    
    )
    
    )
    
    [Commodities] => Array 
    ( 
    [0] => Array 
    ( 
    [Name] => osaka-entry-tee-superdry 
    [NumberOfPieces] => 1 
    [Description] => 
    [CountryOfManufacture] => HK 
    [Weight] => Array 
    ( 
    [Units] => KG 
    [Value] => 1 
    )
    
    [Quantity] => 1 
    [UnitPrice] => Array 
    ( 
    [Amount] => 29 
    [Currency] => AUD 
    )
    
    [CustomsValue] => Array 
    ( 
    [Amount] => 29 
    [Currency] => AUD 
    )
    
    )
    
    )
    
    [CommercialInvoice] => Array 
    ( 
    [Purpose] => SOLD 
    )
    
    )
    
    )
    
    ) 
    FedEx RESPONSE: 
    stdClass Object 
    ( 
    [HighestSeverity] => WARNING 
    [Notifications] => Array 
    ( 
    [0] => stdClass Object 
    ( 
    [Severity] => WARNING 
    [Source] => crs 
    [Code] => 831 
    [Message] => Service was validated at the country level, but might not be valid for the actual intended city for the origin. 
    [LocalizedMessage] => Service was validated at the country level, but might not be valid for the actual intended city for the origin. 
    [MessageParameters] => stdClass Object 
    ( 
    [Id] => ORIGIN_OR_DESTINATION 
    [Value] => origin 
    )
    
    )
    
    [1] => stdClass Object 
    ( 
    [Severity] => NOTE 
    [Source] => crs 
    [Code] => 823 
    [Message] => The country's default routing code was used for the origin. 
    [LocalizedMessage] => The country's default routing code was used for the origin. 
    [MessageParameters] => stdClass Object 
    ( 
    [Id] => ORIGIN_OR_DESTINATION 
    [Value] => origin 
    )
    
    )
    
    )
    
    [TransactionDetail] => stdClass Object 
    ( 
    [CustomerTransactionId] => *** WooCommerce Rate Request *** 
    )
    
    [Version] => stdClass Object 
    ( 
    [ServiceId] => crs 
    [Major] => 16 
    [Intermediate] => 0 
    [Minor] => 0 
    )
    
    [RateReplyDetails] => Array 
    ( 
    [0] => stdClass Object 
    ( 
    [ServiceType] => INTERNATIONAL_PRIORITY 
    [PackagingType] => YOUR_PACKAGING 
    [DestinationAirportId] => MEL 
    [IneligibleForMoneyBackGuarantee] => 
    [OriginServiceArea] => AM 
    [DestinationServiceArea] => PM 
    [SignatureOption] => SERVICE_DEFAULT 
    [ActualRateType] => PAYOR_ACCOUNT_SHIPMENT 
    [RatedShipmentDetails] => Array 
    ( 
    [0] => stdClass Object 
    ( 
    [EffectiveNetDiscount] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 66.98 
    )
    
    [ShipmentRateDetail] => stdClass Object 
    ( 
    [RateType] => PAYOR_ACCOUNT_SHIPMENT 
    [RateScale] => 0000469 
    [RateZone] => HK0469 
    [PricingCode] => ACTUAL 
    [RatedWeightMethod] => ACTUAL 
    [CurrencyExchangeRate] => stdClass Object 
    ( 
    [FromCurrency] => HKD 
    [IntoCurrency] => HKD 
    [Rate] => 1.0 
    )
    
    [DimDivisor] => 139 
    [DimDivisorType] => COUNTRY 
    [FuelSurchargePercent] => 12.5 
    [TotalBillingWeight] => stdClass Object 
    ( 
    [Units] => KG 
    [Value] => 1.0 
    )
    
    [TotalBaseCharge] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 396.9 
    )
    
    [TotalFreightDiscounts] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 59.54 
    )
    
    [TotalNetFreight] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 337.36 
    )
    
    [TotalSurcharges] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 42.17 
    )
    
    [TotalNetFedExCharge] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 379.53 
    )
    
    [TotalTaxes] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 0.0 
    )
    
    [TotalNetCharge] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 379.53 
    )
    
    [TotalRebates] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 0.0 
    )
    
    [TotalDutiesAndTaxes] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 0.0 
    )
    
    [TotalNetChargeWithDutiesAndTaxes] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 379.53 
    )
    
    [FreightDiscounts] => stdClass Object 
    ( 
    [RateDiscountType] => VOLUME 
    [Description] => Volume 
    [Amount] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 59.54 
    )
    
    [Percent] => 15.0 
    )
    
    [Surcharges] => stdClass Object 
    ( 
    [SurchargeType] => FUEL 
    [Description] => Fuel 
    [Amount] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 42.17 
    )
    
    )
    
    )
    
    )
    
    [1] => stdClass Object 
    ( 
    [ShipmentRateDetail] => stdClass Object 
    ( 
    [RateType] => PAYOR_LIST_SHIPMENT 
    [RateScale] => 0000469 
    [RateZone] => HK0469 
    [PricingCode] => ACTUAL 
    [RatedWeightMethod] => ACTUAL 
    [CurrencyExchangeRate] => stdClass Object 
    ( 
    [FromCurrency] => HKD 
    [IntoCurrency] => HKD 
    [Rate] => 1.0 
    )
    
    [DimDivisor] => 139 
    [DimDivisorType] => COUNTRY 
    [FuelSurchargePercent] => 12.5 
    [TotalBillingWeight] => stdClass Object 
    ( 
    [Units] => KG 
    [Value] => 1.0 
    )
    
    [TotalBaseCharge] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 396.9 
    )
    
    [TotalFreightDiscounts] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 0.0 
    )
    
    [TotalNetFreight] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 396.9 
    )
    
    [TotalSurcharges] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 49.61 
    )
    
    [TotalNetFedExCharge] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 446.51 
    )
    
    [TotalTaxes] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 0.0 
    )
    
    [TotalNetCharge] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 446.51 
    )
    
    [TotalRebates] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 0.0 
    )
    
    [TotalDutiesAndTaxes] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 0.0 
    )
    
    [TotalNetChargeWithDutiesAndTaxes] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 446.51 
    )
    
    [Surcharges] => stdClass Object 
    ( 
    [SurchargeType] => FUEL 
    [Description] => Fuel 
    [Amount] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 49.61 
    )
    
    )
    
    )
    
    )
    
    )
    
    )
    
    [1] => stdClass Object 
    ( 
    [ServiceType] => INTERNATIONAL_ECONOMY 
    [PackagingType] => YOUR_PACKAGING 
    [DestinationAirportId] => MEL 
    [IneligibleForMoneyBackGuarantee] => 
    [OriginServiceArea] => AM 
    [DestinationServiceArea] => PM 
    [SignatureOption] => SERVICE_DEFAULT 
    [ActualRateType] => PAYOR_ACCOUNT_SHIPMENT 
    [RatedShipmentDetails] => Array 
    ( 
    [0] => stdClass Object 
    ( 
    [EffectiveNetDiscount] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 56.22 
    )
    
    [ShipmentRateDetail] => stdClass Object 
    ( 
    [RateType] => PAYOR_ACCOUNT_SHIPMENT 
    [RateScale] => 0000469 
    [RateZone] => HK0469 
    [PricingCode] => ACTUAL 
    [RatedWeightMethod] => ACTUAL 
    [CurrencyExchangeRate] => stdClass Object 
    ( 
    [FromCurrency] => HKD 
    [IntoCurrency] => HKD 
    [Rate] => 1.0 
    )
    
    [DimDivisor] => 139 
    [DimDivisorType] => COUNTRY 
    [FuelSurchargePercent] => 12.5 
    [TotalBillingWeight] => stdClass Object 
    ( 
    [Units] => KG 
    [Value] => 1.0 
    )
    
    [TotalBaseCharge] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 333.1 
    )
    
    [TotalFreightDiscounts] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 49.97 
    )
    
    [TotalNetFreight] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 283.13 
    )
    
    [TotalSurcharges] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 35.39 
    )
    
    [TotalNetFedExCharge] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 318.52 
    )
    
    [TotalTaxes] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 0.0 
    )
    
    [TotalNetCharge] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 318.52 
    )
    
    [TotalRebates] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 0.0 
    )
    
    [TotalDutiesAndTaxes] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 0.0 
    )
    
    [TotalNetChargeWithDutiesAndTaxes] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 318.52 
    )
    
    [FreightDiscounts] => stdClass Object 
    ( 
    [RateDiscountType] => VOLUME 
    [Description] => Volume 
    [Amount] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 49.97 
    )
    
    [Percent] => 15.0 
    )
    
    [Surcharges] => stdClass Object 
    ( 
    [SurchargeType] => FUEL 
    [Description] => Fuel 
    [Amount] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 35.39 
    )
    
    )
    
    )
    
    )
    
    [1] => stdClass Object 
    ( 
    [ShipmentRateDetail] => stdClass Object 
    ( 
    [RateType] => PAYOR_LIST_SHIPMENT 
    [RateScale] => 0000469 
    [RateZone] => HK0469 
    [PricingCode] => ACTUAL 
    [RatedWeightMethod] => ACTUAL 
    [CurrencyExchangeRate] => stdClass Object 
    ( 
    [FromCurrency] => HKD 
    [IntoCurrency] => HKD 
    [Rate] => 1.0 
    )
    
    [DimDivisor] => 139 
    [DimDivisorType] => COUNTRY 
    [FuelSurchargePercent] => 12.5 
    [TotalBillingWeight] => stdClass Object 
    ( 
    [Units] => KG 
    [Value] => 1.0 
    )
    
    [TotalBaseCharge] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 333.1 
    )
    
    [TotalFreightDiscounts] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 0.0 
    )
    
    [TotalNetFreight] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 333.1 
    )
    
    [TotalSurcharges] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 41.64 
    )
    
    [TotalNetFedExCharge] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 374.74 
    )
    
    [TotalTaxes] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 0.0 
    )
    
    [TotalNetCharge] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 374.74 
    )
    
    [TotalRebates] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 0.0 
    )
    
    [TotalDutiesAndTaxes] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 0.0 
    )
    
    [TotalNetChargeWithDutiesAndTaxes] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 374.74 
    )
    
    [Surcharges] => stdClass Object 
    ( 
    [SurchargeType] => FUEL 
    [Description] => Fuel 
    [Amount] => stdClass Object 
    ( 
    [Currency] => HKD 
    [Amount] => 41.64 
    )
    
    )
    
    )
    
    )
    
    )
    
    )
    
    )
    
    ) 
    "

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • xadapter

    (@xadapter)

    Hi @ken20171212),

    We apologise for missing out your query.
    FedEx returns the rates from your origin country. In your case, since it HongKong, hence the rates will returned using that currency.

    We do have an option in the plus plugin to set a currency conversion value so that you can convert and show the value in Australian Dollars.

Viewing 1 replies (of 1 total)
  • The topic ‘response wrong currency’ is closed to new replies.