Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

VITW

Archived
  • Posts

    7
  • Joined

  • Last visited

Everything posted by VITW

  1. I believe the solutions to 1 and 3 are as follows: 1) The order history doesn't show that insurance was ordered. In catalog/includes/classes/order.php, change the following: 3) If I move from "Confirmation" back to "Payment", it doesn't retain the fact that insurance was requested. In catalog/checkout_confirmation.php: I think that captures all my changes. I hope that helps, Rich
  2. I've been having problems with the tax and total appearing at PayPal's login and the information displayed once logged into PayPal. This contribution relates to this environment: PayPal IPN: 2.3.4 List individual items: Yes Move tax to total: No Here's the scenario: - A customer orders four of the same item and the total sales tax is $4.19. - The individual item tax submitted to PayPal is $1.05. - The login at PayPal shows the total order cost off by one penny - Once inside the order shows the total order cost off by a penny as does the total Tax ($4.20) Here's what worked for me: In in catalog/includes/modules/payment/paypal_ipn.php, I place this: $parameters['tax_cart'] = $tax_total; Just below this } else { // default $parameters['amount'] = number_format($subtotal * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); For more information regrading taxes, see "Tax for the Entire Cart" at https://www.paypal.com/IntegrationCenter/ic...html#individual where it indicates: "Use the tax_cart variable to specify a tax amount that applies to the entire purchase, rather than to individual items. The tax_cart variable overrides any per-item tax amount specified with tax_x." I hope this helps, Rich at VITW (PayPal IPN, tax rounding, totals mismatch) Now if I can only figure out why there wasn't an e-mail after a successful order...
  3. Help! I installed version 1.3 and I'm having three problems with the module: 1) The order history doesn't show that insurance was ordered. 2) The cost is not carrying through to PayPal (but it does carry over to Authorize.net). 3) If I move from "Confirmation" back to "Payment", it doesn't retain the fact that insurance was requested. What am I doing wrong? Thanks, Rich BTW, I'm not charging tax on insurance.
  4. No need to reply... I converted the 2 and 3 digit zipcode list to regular expressions which caused the longest string to be 252 characters. Tested fine at http://regexlib.com/RETester.aspx. It should be okay now. Thanks, Rich Zone 1: ^005|^07[0-9]|^08[0-4]|^08[5-9]|^09|^10|^11|^18[0-1]|^183|^189|^19[0-4] Zone 2: ^01[0-3]|^06|^12[4-7]|^13[7-9]|^17[0-6]|^17[8-9]|^182|^18[4-8]|^19[5-9]|^20[6-9]|^21[0-2]|^214|^216|^21[8-9] Zone 3: ^01[4-9]|^02|^03|^04[0-3]|^045|^048|^05|^12[0-3]|^12[8-9]|^13[0-6]|^14|^15[5-9]|^166|^16[8-9]|^177|^20[0-5]|^215|^217|^22|^23|^244|^254|^26[7-8] Zone 4: ^044|^04[6-7]|^049|^15[0-4]|^16[0-5]|^167|^24[0-3]|^24[5-9]|^25[0-3]|^25[5-9]|^26[0-6]^27|^28|^29[0-7]|^37[6-9]|^40[3-9]|^41[0-8]|^42[5-6]|^43|^44|^45|^46[7-8]|^470|^47[2-3]|^48|^49[0-2] Zone 5: ^29[8-9]|^30|^31|^32|^33[4-8]|^342|^344|^34[6-7]|^349|^35|^36[0-4]|^36[7-9]|^37[0-5]|^38[0-6]|^38[8-9]|^393|^39[7-9]|40[0-2]|^42[0-4]|^427|^46[0-6]|^469|^47|^49[3-9]|^504|^50[6-7]|^52[0-4]|^52[6-8]|^53|^54|^55|^60|^61|^62|^62[2-9]|^63|^65[0-3]|^72[3-5] Zone 6: ^33[0-3]|^339|^34[0-1]|^36[5-6]|^387|^39[0-2]|^39[4-6]|^50[0-3]|^505|^50[8-9]|51[0-6]|^525|^56[0-7]|^57[0-6]|^58[0-6]|^64|^65[4-8]|^66|^67[0-6]|^678|^68[0-1]|^68[3-9]|69[0-2]|^70|^71|^72[0-2]|^72[6-9]|^73[0-1]|73[4-8]|^74|^75|^76[0-7]|^77[0-8] Zone 7: ^00[6-9]|^577|^58[7-8]|^59[0-3]|^677|^679|^693|^733|^739|^76[8-9]|^779|^78|^79[0-7]|^80|^81[0-6]|^82[0-8]|^87[0-2]|^875|^877|^88[1-4] Zone 8: ^59[4-9]|^79[8-9]|^829|^83[0-8]|^84[0-7]|^850|^85[2-3]|^85[5-7]|^859|^860|^86[3-5]|^87[3-4]|^87[8-9]|^880|^885|^889|^89[0-1]|^89[3-5]|^89[7-8]|^90[0-8]|^91|^92[0-8]|^93|^94|^95|^96|^97|^98[0-6]|^98[8-9]|^99
  5. Help! I put together the zone zipcode strings for the 8 zones shipping from NJ. The longest string is 610 characters in length. The routine allows up to 255. How do I change the acceptable length to 1027? The zones look follows: Zone 1: 005,070,071,072,073,074,075,076,077,078,079,080,081,082,083,084,085,086,087,088, 089,09,10,11,180,181,183189,190,191,192,193 Zone 2: 010,011,012,013,060,061,062,063,064,065,066,067,068,069,124,125,126,127,137,138, 139,170,171,172,173,174,175,176,178,179,182,184,185,186,187,188,195,196,197,198,1 99,206,207,208,209,210,211,213,214,216,218,219 Zone 3: 014,015,016,017,018,019,02,03,040,041,042,043,045,048,050,051,052,053,054,055,05 6,057,058,059,120,121,122,123,128,129,130,131,132,133,134,135,136,14,155,156,157, 158,159,166,168,169,177,200,201,202,203,204,205,215,217,22,23,244,254,267,268 Zone 4: 044,046,047,049,150,151,152,153,154,160,161,162,163,164,165,167,240,241,242,243, 245,246,247,248,249,250,251,252,253,255,256,257,258,259,260,261,262,263,264,265,2 66,27,28,290,291,292,293,294,295,296,297,376,377,378,379,403,404,405,406,407,408, 409,410,411,412,413,414,415,416,417,418,425,426,43,44,45,467,468,470,472,473,48,4 90,491,492 Zone 5: 298,299,30,31,32,334,335,336,337,338,342,344,346,347,349,350,351,352,354,355,356 ,357,358,359,360,361,362,363,364,367,368,369,370,371,372,373,374,375,380,381,382, 383,384,385,386,388,389,393,397,398,399,400,401,402,420,421,422,423,424,427,460,4 61,462,463,463,464,465,466,469,471,474,475,476,477,478,479,493,494,495,496,497,49 8,499,504,506,507,520,521,522,523,524,526,527,528,530,531,532,534,535,537,538,539 ,54,550,551,553,554,555,556,557,558,559,60,61,620,622,623,624,625,627,628,629,630 ,631,633,634,635,636,637,638,639,650,651,652,653,723,724,725 Zone 6: 330,331,332,333,339,340,341,365,366,387,390,391,392,394,395,396,500,501,502,503, 505,508,509,510,511,512,513,514,515,516,525,560,561,562,563,564,565,566,567,570,5 71,572,573,574,575,576,580,581,582,583,584,585,586,640,641,644,645,646,647,648,64 9,654,655,656,657,658,660,661,662,664,665,666,667,668,669,670,671,672,673,674,675 ,676,678,680,681,683,684,685,686,687,688,689,690,691,692,700,701,703,704,705,706, 707,708,710,711,712,713,714,716,717,718,719,720,721,722,726,727,728,729,730,731,7 34,735,736,737,738,740,741,743,744,745,746,747,748,749,75,760,761,762,763,764,765 ,766,767,770,771,772,773,774,775,776,777,778 Zone 7: 006,007,008,009,577,587,588,590,591,592,593,677,679,693,733,739,768,769,779,78,7 90,791,792,793,794,795,796,797,80,810,811,812,813,814,815,816,820,821,822,823,824 ,825,826,827,828,870,871,872,875,877,881,882,883,884 Zone 8: 594,595,596,597,598,599,798,799,829,830,831,832,833,834,835,836,837,838,840,841, 842,843,844,845,846,847,850,852,853,855,856,857,859,860,863,864,865,873,874,878,8 79,880,885,889,890,891,893,894,895897,898,900,901,902,903,904,905,906,907,908,91, 920,921,922,923,924,925,926,927,928,93,94,95,96,97,980,981,982,983,984,985,986,98 8,989,99 Or is there a way to use ranges instead of enumerating each two or three digit zipcode? Thanks, Rich
  6. You'll find a US flag icon at http://www.variableitworkforce.com/misc.html. Simply right click on the image then "save picture as" icon.gif to your local drive. Finally, upload the file to replace "//domain_name/catalog/includes/languages/english/images/icon.gif". Cheers, Rich
×
×
  • Create New...