Jump to content

Search the Community

Showing results for tags 'Canada Post Module'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • CubeCart News & Announcements
    • News & Announcements
  • CubeCart Support Forums
    • Issue / Bug Reporting & Feature Requests
    • Install & Upgrade Support
    • Official CubeCart Hosting
    • Technical Help
    • Customising Look & Feel
  • CubeCart Extension Marketplace
    • Visit the CubeCart Extension Marketplace
    • Extension Discussion
    • Developer Forum
  • General
    • General Discussion
    • Show Off

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location

Found 1 result

  1. Hello, I am using the Canada Post module and Cubecart drops the decimals in the amount recived from Post canada. By example if it returns the amount of 9.37 to cubecart, Cubecart will put 9.00 in the invoice. It does that for every amount, all the time. Ex: a demand journal entry: Demande envoyée - http://sellonline.canadapost.ca/<eparcel> <language>en</language> <ratesAndServicesRequest> <merchantCPCID>CPC_BOUTIQUE_FIL_ART_NS</merchantCPCID> <fromPostalCode>j3y 8x9</fromPostalCode> <itemsPrice>6.50</itemsPrice> <lineItems> <item> <quantity>1</quantity> <weight>0.05</weight> <length>4</length> <width>20</width> <height>20</height> <description>Online Order</description> </item> </lineItems> <city>nantes</city> <provOrState>loire</provOrState> <country>FR</country> <postalCode>44300</postalCode> </ratesAndServicesRequest> </eparcel> Réponse reçue<?xml version="1.0"?> <!DOCTYPE eparcel [ <!-- EVERY REQUEST CONTAIN THE eparcel TAG --> <!ELEMENT eparcel (ratesAndServicesResponse)> <!-- ********************************************************* --> <!-- * Standard response for request for rates and services * --> <!-- ********************************************************* --> <!ELEMENT ratesAndServicesResponse (statusCode, statusMessage+, requestID, handling, language, product+, packing*, emptySpace*, shippingOptions, comment, nearestPostalOutlet*)> <!ELEMENT statusCode (#PCDATA)> <!ELEMENT statusMessage (#PCDATA)> <!ELEMENT requestID (#PCDATA)> <!ELEMENT handling (#PCDATA)> <!ELEMENT language (#PCDATA)> <!ELEMENT product (name, rate, shippingDate, deliveryDate, deliveryDayOfWeek, nextDayAM?, packingID)> <!ATTLIST product id CDATA #REQUIRED sequence CDATA #REQUIRED > <!ELEMENT name (#PCDATA)> <!ELEMENT rate (#PCDATA)> <!ELEMENT shippingDate (#PCDATA)> <!ELEMENT deliveryDate (#PCDATA)> <!ELEMENT deliveryDayOfWeek (#PCDATA)> <!ELEMENT nextDayAM (#PCDATA)> <!ELEMENT packingID (#PCDATA)> <!ELEMENT packing (packingID, box+)> <!ELEMENT box (name, weight, expediterWeight, length, width, height, packedItem+)> <!ELEMENT weight (#PCDATA)> <!ELEMENT expediterWeight (#PCDATA)> <!ELEMENT length (#PCDATA)> <!ELEMENT width (#PCDATA)> <!ELEMENT height (#PCDATA)> <!ELEMENT packedItem (quantity, description)> <!ELEMENT quantity (#PCDATA)> <!ELEMENT description (#PCDATA)> <!ELEMENT emptySpace (length, width, height, weight)> <!ELEMENT shippingOptions (insurance, deliveryConfirmation, signature, flexiblePaymentAvailable?)> <!ELEMENT insurance (#PCDATA)> <!ELEMENT deliveryConfirmation (#PCDATA)> <!ELEMENT signature (#PCDATA)> <!ELEMENT flexiblePaymentAvailable EMPTY> <!ELEMENT comment (#PCDATA)> <!-- ********************************************************* --> <!-- * 'nearestPostalOutlet' is optional and is returned * --> <!-- * only if the merchant profile has this option enabled * --> <!-- ********************************************************* --> <!ELEMENT nearestPostalOutlet (postalOutletSequenceNo, distance, outletName, businessName, postalAddress, phoneNumber, businessHours+)> <!ELEMENT postalOutletSequenceNo (#PCDATA)> <!ELEMENT distance (#PCDATA)> <!ELEMENT outletName (#PCDATA)> <!ELEMENT businessName (#PCDATA)> <!ELEMENT postalAddress (addressLine+, postalCode, municipality, province?)> <!ELEMENT addressLine (#PCDATA)> <!ELEMENT postalCode (#PCDATA)> <!ELEMENT municipality (#PCDATA)> <!ELEMENT province (#PCDATA)> <!ELEMENT phoneNumber (#PCDATA)> <!ELEMENT businessHours (dayId, dayOfWeek, time)> <!ELEMENT dayId (#PCDATA)> <!ELEMENT dayOfWeek (#PCDATA)> <!ELEMENT time (#PCDATA)> ]> <eparcel> <ratesAndServicesResponse> <statusCode>1</statusCode> <statusMessage>OK</statusMessage> <requestID>7604463</requestID> <handling>2.0</handling> <language>0</language> <product id="3040" sequence="1"> <name>Priority Worldwide INTL</name> <rate>84.22</rate> <shippingDate>2014-05-05</shippingDate> <deliveryDate>www.canadapost.ca</deliveryDate> <deliveryDayOfWeek>4</deliveryDayOfWeek> <nextDayAM>false</nextDayAM> <packingID>P_0</packingID> </product> <product id="3025" sequence="2"> <name>XPressPost International</name> <rate>55.7</rate> <shippingDate>2014-05-05</shippingDate> <deliveryDate>2014-05-09</deliveryDate> <deliveryDayOfWeek>6</deliveryDayOfWeek> <nextDayAM>false</nextDayAM> <packingID>P_0</packingID> </product> <product id="3000" sequence="3"> <name>Tracked Packet - International</name> <rate>41.0</rate> <shippingDate>2014-05-05</shippingDate> <deliveryDate>2014-05-14</deliveryDate> <deliveryDayOfWeek>4</deliveryDayOfWeek> <nextDayAM>false</nextDayAM> <packingID>P_0</packingID> </product> <product id="3015" sequence="4"> <name>Small Packets Air</name> <rate>9.37</rate> <shippingDate>2014-05-05</shippingDate> <deliveryDate>up to 2 weeks</deliveryDate> <deliveryDayOfWeek>4</deliveryDayOfWeek> <nextDayAM>false</nextDayAM> <packingID>P_0</packingID> </product> <product id="3010" sequence="5"> <name>Parcel Surface</name> <rate>34.69</rate> <shippingDate>2014-05-05</shippingDate> <deliveryDate>1 to 3 months</deliveryDate> <deliveryDayOfWeek>4</deliveryDayOfWeek> <nextDayAM>false</nextDayAM> <packingID>P_0</packingID> </product> <packing> <packingID>P_0</packingID> <box> <name>Enveloppe 9x12</name> <weight>0.37</weight> <expediterWeight>0.065</expediterWeight> <length>28.0</length> <width>20.0</width> <height>4.0</height> <packedItem> <quantity>1</quantity> <description>Online Order</description> </packedItem> </box> </packing> <shippingOptions> <insurance>No</insurance> <deliveryConfirmation>Yes</deliveryConfirmation> <signature>No</signature> </shippingOptions> <comment>* For major centres only. Add 1 to 3 business days for other destinations.</comment> </ratesAndServicesResponse> </eparcel> <!--END_OF_EPARCEL--> and all the choices appear with the decimal dropped into the choices drop down menu for the customers. THis problem existed before and it had been solved, now it reappears.
×
×
  • Create New...