Jump to content

RikP

Members
  • Content count

    101
  • Joined

  • Last visited

About RikP

  • Birthday 11/20/1980

Profile Information

  1. RikP

    New UPS XML Shipping Module available

    You need to set the dimension support to 0 in the upsxm.php file. That way the dimension support will be disabled
  2. RikP

    New UPS XML Shipping Module available

    Thanks JanZ, i just completely removed the limit choices function by commenting out the following line: if (!exclude_choices($type)) continue; I now still have a naming issue, but i will contact UPS for that: TimeinTransit gives back: - UPS Worldwide Express - UPS Worldwide Expedited Rates fives back: - UPS Express - UPS Worldwide Express Plus So i think there is something wrong with the naming inside TimeInTransit for EU countries. I will post here what UPS has to say!
  3. RikP

    New UPS XML Shipping Module available

    69 isn't even in the list. You can find the tools by logging into UPS.com goto business solutions - online tools - UPS tracking. If you have a key you can download it from there. Or just follow this link ;) http://www.ups.com/e_comm_access/laServ?lo...OOL_ID=TrackXML I'm still having the problem that only 1 method shows up while there are 2 in the xml file :( This is the XML file: UPS RESPONSE: <?xml version="1.0"?> <RatingServiceSelectionResponse> <Response> <TransactionReference> <CustomerContext>Rating and Service</CustomerContext> <XpciVersion>1.0001</XpciVersion> </TransactionReference> <ResponseStatusCode>1</ResponseStatusCode> <ResponseStatusDescription>Success</ResponseStatusDescription> </Response> <RatedShipment> <Service> <Code>07</Code> </Service> <BillingWeight> <UnitOfMeasurement> <Code>KGS</Code> </UnitOfMeasurement> <Weight>1.0</Weight> </BillingWeight> <TransportationCharges> <CurrencyCode>EUR</CurrencyCode> <MonetaryValue>82.94</MonetaryValue> </TransportationCharges> <ServiceOptionsCharges> <CurrencyCode>EUR</CurrencyCode> <MonetaryValue>1.45</MonetaryValue> </ServiceOptionsCharges> <TotalCharges> <CurrencyCode>EUR</CurrencyCode> <MonetaryValue>84.39</MonetaryValue> </TotalCharges> <GuaranteedDaysToDelivery></GuaranteedDaysToDelivery> <ScheduledDeliveryTime></ScheduledDeliveryTime> <RatedPackage> <TransportationCharges> <CurrencyCode> </CurrencyCode> <MonetaryValue> </MonetaryValue> </TransportationCharges> <ServiceOptionsCharges> <CurrencyCode> </CurrencyCode> <MonetaryValue> </MonetaryValue> </ServiceOptionsCharges> <TotalCharges> <CurrencyCode> </CurrencyCode> <MonetaryValue> </MonetaryValue> </TotalCharges> <Weight>1.0</Weight> <BillingWeight> <UnitOfMeasurement> <Code> </Code> </UnitOfMeasurement> <Weight> </Weight> </BillingWeight> </RatedPackage> </RatedShipment> <RatedShipment> <Service> <Code>54</Code> </Service> <BillingWeight> <UnitOfMeasurement> <Code>KGS</Code> </UnitOfMeasurement> <Weight>1.0</Weight> </BillingWeight> <TransportationCharges> <CurrencyCode>EUR</CurrencyCode> <MonetaryValue>123.59</MonetaryValue> </TransportationCharges> <ServiceOptionsCharges> <CurrencyCode>EUR</CurrencyCode> <MonetaryValue>1.45</MonetaryValue> </ServiceOptionsCharges> <TotalCharges> <CurrencyCode>EUR</CurrencyCode> <MonetaryValue>125.04</MonetaryValue> </TotalCharges> <GuaranteedDaysToDelivery></GuaranteedDaysToDelivery> <ScheduledDeliveryTime></ScheduledDeliveryTime> <RatedPackage> <TransportationCharges> <CurrencyCode> </CurrencyCode> <MonetaryValue> </MonetaryValue> </TransportationCharges> <ServiceOptionsCharges> <CurrencyCode> </CurrencyCode> <MonetaryValue> </MonetaryValue> </ServiceOptionsCharges> <TotalCharges> <CurrencyCode> </CurrencyCode> <MonetaryValue> </MonetaryValue> </TotalCharges> <Weight>1.0</Weight> <BillingWeight> <UnitOfMeasurement> <Code> </Code> </UnitOfMeasurement> <Weight> </Weight> </BillingWeight> </RatedPackage> </RatedShipment> </RatingServiceSelectionResponse> And only method 54 is showing... Any ideas?
  4. RikP

    New UPS XML Shipping Module available

    I found the problem i guess: From the UPS RSS_dev_guide: EU code 65 = UPS Express Saver In the language file: define('MODULE_SHIPPING_UPSXML_SERVICE_CODE_EU_ORIGIN_65', 'UPS Express NA1'); And it should be: define('MODULE_SHIPPING_UPSXML_SERVICE_CODE_EU_ORIGIN_65', 'UPS Express Saver'); That's one problem solved :) The other that i'm getting 2 methods back from Time in Transit and one for Rates is under investigation :D
  5. I have installed STS for some time now and it's working great! The only thing is that something goes wrong with javascript. It gives errors at places where no javascript is. for example it gives an error here: function check_password_new(field_name_1, field_name_2, field_name_3, field_size, message_1, message_2, message_3) { if (form.elements[field_name_1] && (form.elements[field_name_1].type != "hidden")) { var password_current = form.elements[field_name_1].value; var password_new = form.elements[field_name_2].value; var password_confirmation = form.elements[field_name_3].value; if (password_current == '' || password_current.length < field_size) { error_message = error_message + "* " + message_1 + "\n"; error = true; } else if (password_new == '' || password_new.length < field_size) { error_message = error_message + "* " + message_2 + "\n"; error = true; } else if (password_new != password_confirmation) { error_message = error_message + "* " + message_3 + "\n"; error = true; } } } at line 13 character 58, while the line is only 56 charachters long! Any idea what could be wrong?
  6. RikP

    New UPS XML Shipping Module available

    ' It aren't two different shipments: look at the times of them: DATE AND TIME: 2005-12-13 15:48:29 DATE AND TIME: 2005-12-13 15:48:31 So it's from the same shipment. For some reason the timeintransit get's 10kg and the rates gets 1 kg (and it should be 1). Further should i get more shipments then only service 65? Because then i will contact UPS about it. Thanks anyway :)
  7. RikP

    New UPS XML Shipping Module available

    Hi Janz, I got it working now, the only thing is that the time in transit isn't showing correctly This is the code: DATE AND TIME: 2005-12-13 15:48:29 UPS URL: https://wwwcie.ups.com:443/ups.app/xml/TimeInTransit UPS REQUEST: <?xml version="1.0"?> <AccessRequest xml:lang="en-US"> <AccessLicenseNumber>xxxxxxxxx</AccessLicenseNumber> <UserId>xxxxxxxxxxx</UserId> <Password>xxxxxxxxxxx</Password> </AccessRequest> <?xml version="1.0"?> <TimeInTransitRequest xml:lang="en-US"> <Request> <TransactionReference> <CustomerContext>Time in Transit</CustomerContext> <XpciVersion>1.0001</XpciVersion> </TransactionReference> <RequestAction>TimeInTransit</RequestAction> </Request> <TransitFrom> <AddressArtifactFormat> <PoliticalDivision2>Heerenveen</PoliticalDivision2> <PoliticalDivision1>DR</PoliticalDivision1> <CountryCode>NL</CountryCode> <PostcodePrimaryLow>8448EX</PostcodePrimaryLow> </AddressArtifactFormat> </TransitFrom> <TransitTo> <AddressArtifactFormat> <PoliticalDivision2>Szczecinek</PoliticalDivision2> <PoliticalDivision1>PL</PoliticalDivision1> <CountryCode>PL</CountryCode> <PostcodePrimaryLow>78-400</PostcodePrimaryLow> <PostcodePrimaryHigh>78-400</PostcodePrimaryHigh> </AddressArtifactFormat> </TransitTo> <PickupDate>20051214</PickupDate> <ShipmentWeight> <UnitOfMeasurement> <Code>KGS</Code> </UnitOfMeasurement> <Weight>10</Weight> </ShipmentWeight> <InvoiceLineTotal> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>100</MonetaryValue> </InvoiceLineTotal> </TimeInTransitRequest> UPS RESPONSE: <?xml version="1.0"?><TimeInTransitResponse><Response><TransactionReference><CustomerContext>Time in Transit</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>1</ResponseStatusCode><ResponseStatusDescription>Success</ResponseStatusDescription></Response><TransitResponse><PickupDate>2005-12-14</PickupDate><TransitFrom><AddressArtifactFormat><PoliticalDivision2>HEERENVEEN</PoliticalDivision2><Country>NETHERLANDS</Country><CountryCode>NL</CountryCode><PostcodePrimaryLow>8448EX</PostcodePrimaryLow></AddressArtifactFormat></TransitFrom><TransitTo><AddressArtifactFormat><PoliticalDivision2>SZCZECINEK</PoliticalDivision2><Country>POLAND</Country><CountryCode>PL</CountryCode><PostcodePrimaryLow>78400</PostcodePrimaryLow></AddressArtifactFormat></TransitTo><AutoDutyCode>02</AutoDutyCode><ShipmentWeight><UnitOfMeasurement><Code>KGS</Code></UnitOfMeasurement><Weight>10.0</Weight></ShipmentWeight><InvoiceLineTotal><CurrencyCode>USD</CurrencyCode><MonetaryValue>100.00</MonetaryValue></InvoiceLineTotal><Disclaimer>Services listed as guaranteed are backed by a money-back guarantee for transportation charges only. See Terms and Conditions in the Service Guide for details. Certain commodities and high value shipments may require additional transit time for customs clearance.</Disclaimer><ServiceSummary><Service><Code>18</Code><Description>UPS Express Saver</Description></Service><Guaranteed><Code>Y</Code></Guaranteed><EstimatedArrival><BusinessTransitDays>2</BusinessTransitDays><Time>23:30:00</Time><PickupDate>2005-12-14</PickupDate><PickupTime>16:00:00</PickupTime><HolidayCount>0</HolidayCount><DelayCount>0</DelayCount><Date>2005-12-16</Date><DayOfWeek>FRI</DayOfWeek><TotalTransitDays>2</TotalTransitDays><CustomerCenterCutoff>15:00:00</CustomerCenterCutoff><RestDays>0</RestDays></EstimatedArrival></ServiceSummary><ServiceSummary><Service><Code>08</Code><Description>UPS Standard</Description></Service><Guaranteed><Code>N</Code></Guaranteed><EstimatedArrival><BusinessTransitDays>3</BusinessTransitDays><Time>23:30:00</Time><PickupDate>2005-12-14</PickupDate><PickupTime>16:00:00</PickupTime><HolidayCount>0</HolidayCount><DelayCount>0</DelayCount><Date>2005-12-19</Date><DayOfWeek>MON</DayOfWeek><TotalTransitDays>5</TotalTransitDays><CustomerCenterCutoff>15:00:00</CustomerCenterCutoff><RestDays>2</RestDays></EstimatedArrival></ServiceSummary><MaximumListSize>35</MaximumListSize></TransitResponse></TimeInTransitResponse> ------------------------------------------ Business Transit: UPS Express Saver = 2005-12-16 Business Transit: UPS Standard = 2005-12-19 ------------------------------------------ Time in Transit: 0 ------------------------------------------ DATE AND TIME: 2005-12-13 15:48:31 UPS URL: https://wwwcie.ups.com:443/ups.app/xml/Rate UPS REQUEST: <?xml version="1.0"?> <AccessRequest xml:lang="en-US"> <AccessLicenseNumber>xxxxxxxxxxxxxx</AccessLicenseNumber> <UserId>xxxxxxxxxxxx</UserId> <Password>xxxxxxxxxxx</Password> </AccessRequest> <?xml version="1.0"?> <RatingServiceSelectionRequest xml:lang="en-US"> <Request> <TransactionReference> <CustomerContext>Rating and Service</CustomerContext> <XpciVersion>1.0001</XpciVersion> </TransactionReference> <RequestAction>Rate</RequestAction> <RequestOption>shop</RequestOption> </Request> <Shipment> <Shipper> <Address> <City>Heerenveen</City> <StateProvinceCode>DR</StateProvinceCode> <CountryCode>NL</CountryCode> <PostalCode>8448EX</PostalCode> </Address> </Shipper> <ShipTo> <Address> <City>Szczecinek</City> <StateProvinceCode>PL</StateProvinceCode> <CountryCode>PL</CountryCode> <PostalCode>78-400</PostalCode> </Address> </ShipTo> <Package> <PackagingType> <Code>04</Code> </PackagingType> <PackageWeight> <UnitOfMeasurement> <Code>KGS</Code> </UnitOfMeasurement> <Weight>1</Weight> </PackageWeight> <PackageServiceOptions> <InsuredValue> <CurrencyCode>EUR</CurrencyCode> <MonetaryValue>145</MonetaryValue> </InsuredValue> </PackageServiceOptions> </Package> </Shipment> </RatingServiceSelectionRequest> UPS RESPONSE: <?xml version="1.0"?><RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Rating and Service</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>1</ResponseStatusCode><ResponseStatusDescription>Success</ResponseStatusDescription></Response><RatedShipment><Service><Code>65</Code></Service><BillingWeight><UnitOfMeasurement><Code>KGS</Code></UnitOfMeasurement><Weight>1.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>EUR</CurrencyCode><MonetaryValue>93.35</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>EUR</CurrencyCode><MonetaryValue>1.45</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>EUR</CurrencyCode><MonetaryValue>94.80</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery></GuaranteedDaysToDelivery><ScheduledDeliveryTime></ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></TotalCharges><Weight>1.0</Weight><BillingWeight><UnitOfMeasurement><Code> </Code></UnitOfMeasurement><Weight> </Weight></BillingWeight></RatedPackage></RatedShipment></RatingServiceSelectionResponse> Any idea what could be wrong now? I noticed there is also only showing 1 method? is this ok? ps. sorry for asking all these questions but i really want to use this shipping method :)
  8. RikP

    New UPS XML Shipping Module available

    Hi Janz, Thanks this way i don't get errors anymore. But there is nothing at the checkout page for ups (see screenshot). The xml is as follows: DATE AND TIME: 2005-12-10 15:08:57 UPS URL: https://wwwcie.ups.com:443/ups.app/xml/Rate UPS REQUEST: <?xml version="1.0"?> <AccessRequest xml:lang="en-US"> <AccessLicenseNumber>xxxxxxxxxxxxxxx</AccessLicenseNumber> <UserId>xxxxxxxxxxxx</UserId> <Password>xxxxxxxxxxxx</Password> </AccessRequest> <?xml version="1.0"?> <RatingServiceSelectionRequest xml:lang="en-US"> <Request> <TransactionReference> <CustomerContext>Rating and Service</CustomerContext> <XpciVersion>1.0001</XpciVersion> </TransactionReference> <RequestAction>Rate</RequestAction> <RequestOption>shop</RequestOption> </Request> <Shipment> <Shipper> <Address> <City>Heerenveen</City> <StateProvinceCode>DR</StateProvinceCode> <CountryCode>NL</CountryCode> <PostalCode>8448EX</PostalCode> </Address> </Shipper> <ShipTo> <Address> <City>Tucson</City> <StateProvinceCode>AZ</StateProvinceCode> <CountryCode>US</CountryCode> <PostalCode>85718</PostalCode> </Address> </ShipTo> <Package> <PackagingType> <Code>04</Code> </PackagingType> <PackageWeight> <UnitOfMeasurement> <Code>KGS</Code> </UnitOfMeasurement> <Weight>2.5</Weight> </PackageWeight> <PackageServiceOptions> <InsuredValue> <CurrencyCode>EUR</CurrencyCode> <MonetaryValue>145</MonetaryValue> </InsuredValue> </PackageServiceOptions> </Package> </Shipment> </RatingServiceSelectionRequest> UPS RESPONSE: <?xml version="1.0"?><RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Rating and Service</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>1</ResponseStatusCode><ResponseStatusDescription>Success</ResponseStatusDescription></Response><RatedShipment><Service><Code>07</Code></Service><BillingWeight><UnitOfMeasurement><Code>KGS</Code></UnitOfMeasurement><Weight>2.5</Weight></BillingWeight><TransportationCharges><CurrencyCode>EUR</CurrencyCode><MonetaryValue>101.92</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>EUR</CurrencyCode><MonetaryValue>1.45</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>EUR</CurrencyCode><MonetaryValue>103.37</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery></GuaranteedDaysToDelivery><ScheduledDeliveryTime></ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></TotalCharges><Weight>2.5</Weight><BillingWeight><UnitOfMeasurement><Code> </Code></UnitOfMeasurement><Weight> </Weight></BillingWeight></RatedPackage></RatedShipment> <RatedShipment><Service><Code>54</Code></Service><BillingWeight><UnitOfMeasurement><Code>KGS</Code></UnitOfMeasurement><Weight>2.5</Weight></BillingWeight><TransportationCharges><CurrencyCode>EUR</CurrencyCode><MonetaryValue>142.58</MonetaryValue></TransportationCharges> <ServiceOptionsCharges><CurrencyCode>EUR</CurrencyCode><MonetaryValue>1.45</MonetaryValue></ServiceOptionsCharges> <TotalCharges><CurrencyCode>EUR</CurrencyCode><MonetaryValue>144.03</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery></GuaranteedDaysToDelivery><ScheduledDeliveryTime></ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode> </CurrencyCode><MonetaryValue> </MonetaryValue></TotalCharges><Weight>2.5</Weight> <BillingWeight><UnitOfMeasurement><Code> </Code></UnitOfMeasurement><Weight> </Weight></BillingWeight></RatedPackage></RatedShipment></RatingServiceSelectionResponse> Any idea what the problem can be?
  9. RikP

    New UPS XML Shipping Module available

    Janz one thing that i noticed was that i needed to install the .sql file (for dimensions) but i don't use that module (only weight, UPS Pak). But when i didn't install the sql file it came with an error that it couldn't find the TABLES_PACKAGES sql query??
  10. RikP

    New UPS XML Shipping Module available

    Thanks for the quick answer! I have added the statecode and removed the pickup and customerclassification. But i'm still getting the same error. Also i noticed there are no products in the xml file. I have selected UPS pak and there should be at least 1 product in there ;-) beneath the new xml file DATE AND TIME: 2005-12-09 09:53:45 UPS URL: https://wwwcie.ups.com:443/ups.app/xml/Rate UPS REQUEST: <?xml version="1.0"?> <AccessRequest xml:lang="en-US"> <AccessLicenseNumber>xxxxxx</AccessLicenseNumber> <UserId>rxxxxx</UserId> <Password>xxxxx</Password> </AccessRequest> <?xml version="1.0"?> <RatingServiceSelectionRequest xml:lang="en-US"> <Request> <TransactionReference> <CustomerContext>Rating and Service</CustomerContext> <XpciVersion>1.0001</XpciVersion> </TransactionReference> <RequestAction>Rate</RequestAction> <RequestOption>shop</RequestOption> </Request> <Shipment> <Shipper> <Address> <City>Heerenveen</City> <StateProvinceCode>DR</StateProvinceCode> <CountryCode>NL</CountryCode> <PostalCode>8448EX</PostalCode> </Address> </Shipper> <ShipTo> <Address> <City>Tucson</City> <StateProvinceCode>AZ</StateProvinceCode> <CountryCode>US</CountryCode> <PostalCode>85718</PostalCode> </Address> </ShipTo> </Shipment> </RatingServiceSelectionRequest> UPS RESPONSE: <?xml version="1.0"?><RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Rating and Service</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>0</ResponseStatusCode><ResponseStatusDescription>Failure</ResponseStatusDescription><Error><ErrorSeverity>Hard</ErrorSeverity><ErrorCode>10002</ErrorCode><ErrorDescription>The XML document is well formed but the document is not valid</ErrorDescription><ErrorLocation><ErrorLocationElementName>RatingServiceSelectionRequest/Shipment/Package</ErrorLocationElementName></ErrorLocation></Error></Response></RatingServiceSelectionResponse>
  11. RikP

    New UPS XML Shipping Module available

    I'm getting an error and i can't find the problem: the debug code is: DATE AND TIME: 2005-12-08 15:59:52 UPS URL: https://wwwcie.ups.com:443/ups.app/xml/Rate UPS REQUEST: <?xml version="1.0"?> <AccessRequest xml:lang="en-US"> <AccessLicenseNumber>xxxxxxxxx</AccessLicenseNumber> <UserId>xxxxx</UserId> <Password>xxxxxx</Password> </AccessRequest> <?xml version="1.0"?> <RatingServiceSelectionRequest xml:lang="en-US"> <Request> <TransactionReference> <CustomerContext>Rating and Service</CustomerContext> <XpciVersion>1.0001</XpciVersion> </TransactionReference> <RequestAction>Rate</RequestAction> <RequestOption>shop</RequestOption> </Request> <PickupType> <Code>01</Code> </PickupType> <Shipment> <Shipper> <Address> <City>Amsterdam</City> <StateProvinceCode>NH</StateProvinceCode> <CountryCode>NL</CountryCode> <PostalCode>1031HL</PostalCode> </Address> </Shipper> <ShipTo> <Address> <City>Tucson</City> <StateProvinceCode></StateProvinceCode> <CountryCode>US</CountryCode> <PostalCode>85718</PostalCode> </Address> </ShipTo> </Shipment> <CustomerClassification> <Code>03</Code> </CustomerClassification> </RatingServiceSelectionRequest> UPS RESPONSE: <?xml version="1.0"?> <RatingServiceSelectionResponse> <Response> <TransactionReference> <CustomerContext>Rating and Service</CustomerContext> <XpciVersion>1.0001</XpciVersion> </TransactionReference> <ResponseStatusCode>0</ResponseStatusCode> <ResponseStatusDescription>Failure</ResponseStatusDescription> <Error> <ErrorSeverity>Hard</ErrorSeverity> <ErrorCode>10002</ErrorCode> <ErrorDescription> The XML document is well formed but the document is not valid </ErrorDescription> <ErrorLocation> <ErrorLocationElementName> RatingServiceSelectionRequest/Shipment/Package </ErrorLocationElementName> </ErrorLocation> </Error> </Response> </RatingServiceSelectionResponse> What is wrong?
  12. indeed... so my company has to pay because the customer pays with paypal. I wan't to charge those extra costs to the customer...
  13. I have installed the PayPal_Shopping_Cart_IPN but i can't add the fee paypal charges to the customer. In my debug mails payment_fee is always zero. Is there a way to add the 3.4% to the customer order total? my debug mail looks like: ------------------------------------------------------ PayPal_Shopping_Cart_IPN Debug Email Notification ------------------------------------------------------ mc_gross=118.88 invoice=99 address_status=unconfirmed payer_id=4G36FKCZ738DL tax=0.00 address_street=xxxxxxxxxx payment_date=21:06:40 Jun 16, 2005 PDT payment_status=Completed address_zip=557265 first_name=xxxxx mc_fee=4.99 address_country_code=SG address_name=xxxxxxxx notify_version=1.7 custom=a1182586ef49cb1013b05d15461e3368 payer_status=unverified business=xxxxxxxxx address_country=xxxx address_city=xxxxxxxxxx quantity=1 payer_email=xxxxxxxxxxxxx verify_sign=A9b7vNeSHyZ1vlw-HF8VL3GFM19YA5Iah9.JpkO67Y.E6olyfZsFhhn7 txn_id=00J35449V6621354F payment_type=instant last_name=xxxxxxxx address_state=xxxxxxxx receiver_email=xxxxxxxxx payment_fee= receiver_id=D5WPX3VKNFUS2 txn_type=web_accept item_name=BioXS mc_currency=EUR item_number=Precise 100 AX receipt_id=0862-2889-6173-9537 payment_gross= shipping=16.50 ------------------------------------------------------ PayPal Response ------------------------------------------------------ VERIFIED ------------------------------------------------------ Connection Type ------------------------------------------------------ curl: 1 transport: domain: www.paypal.com port: ------------------------------------------------------ Email and Business ID config ------------------------------------------------------ Store Configuration Settings Primary PayPal Email Address: xxxxxxxxxxx Business ID: xxxxxxxxx ------------------------------------------------------ PayPal Configuration Settings Primary PayPal Email Address: xxxxxxxxx Business ID: xxxxxxxx ------------------------------------------------------ IPN INSERTED ------------------------------------------------------ IPN 21 has been inserted ------------------------------------------------------ Attention! ------------------------------------------------------ This is email has NOT been sent by PayPal. You have received this email via the osCommerce PayPal_Shopping_Cart_IPN Contribution To discontinue receiving this notice disable 'Debug Email Notifications' in your osCommerce PayPal configuration panel. as you can see payment_fee is empty. Is this the variable where i can set the fee the customer has to pay? I know mc_fee is the fee paypal has charged. Please help!
  14. RikP

    PDF Catalog v.1.5

    when i try to generate a pdf file the browser will hang ( i think it enters a loop)... Is this a known problem? And is there a solution?
  15. It should look like this: function tep_reset_cache_block($cache_block) { global $cache_blocks; for ($i=0, $n=sizeof($cache_blocks); $i<$n; $i++) { if ($cache_blocks[$i]['code'] == $cache_block) { if ($cache_blocks[$i]['multiple']) { if ($dir = @opendir(DIR_FS_CACHE)) { while ($cache_file = readdir($dir)) { $cached_file = $cache_blocks[$i]['file']; $languages = tep_get_languages(); for ($j=0, $k=sizeof($languages); $j<$k; $j++) { $cached_file_unlink = ereg_replace('-language', '-' . $languages[$j]['directory'], $cached_file); if (ereg('^' . $cached_file_unlink, $cache_file)) { @unlink(DIR_FS_CACHE . $cache_file); } } } closedir($dir); } } else { $cached_file = $cache_blocks[$i]['file']; $languages = tep_get_languages(); for ($i=0, $n=sizeof($languages); $i<$n; $i++) { $cached_file = ereg_replace('-language', '-' . $languages[$i]['directory'], $cached_file); @unlink(DIR_FS_CACHE . $cached_file); } } break; } } @unlink(DIR_FS_CACHE . 'categories_array.cache'); @unlink(DIR_FS_CACHE . 'manufacturers_array.cache'); @unlink(DIR_FS_CACHE . 'products_array.cache'); }
×