Jump to content

talon177

Members
  • Content count

    403
  • Joined

  • Last visited

Everything posted by talon177

  1. Did anyone get this to work? I'm having the same issues for categories as well. Ok doing this actually works, but still have a few kinks to fix. For example: Rules: Coupon Restriction $30.00, Coupon = $5.00 Products in cart: Gift Certificate 5.00 Matrix 29.99 Subtotal: 34.99 So at the moment it's calculating the coupon before and the subtotal making it 29.99. Instead of doing 34.99 - 5.00. Also restriction_to_categories needs fixing.
  2. Did you read the instructions? If you turn the module on for gift vouchers it should normally say set queue to true
  3. I have just joined this forum. I am stuck up with a problem I am using oscommerce-2.2ms2 and have installed Linda's DownloadController v5.3 MS2.2 and Credit Class/Gift Voucher (ccgb-510b) and everything is working fine except for a small problem. Suppose I have 50$ as gift voucher amount balance and I purchase a downloadable product of 20$. Now if I use my Gift Voucher amount. to make the purchase then the download link doesnt appear at the end ... Instead the download message appears (downloads will not happen unless payments are confirmed ). Now in this case since the customer is using his gift voucher amount to pay for that product it should allow him to download instantly. Note : If the customer has 10$ as gift voucher amount balance and if he is purchasing a downloadable product of 20$ and using his Gift Voucher for partial payment then the download link appears. The conclusion is that if a purchased product is paid entirely with the Gift Voucher amount then the download link doesnt show up whereas if I make part of the payment through my Gift Voucher balance and remaining through other payment method then the download link shows up I am sorry if this question has been asked previously. Maybe someone else might have had a similar problem Please help...... Any news on this as well.
  4. Did anyone get this to work? I'm having the same issues for categories as well.
  5. Theres 2 different versions one loaded and one with only the ultra pics. Do a search in the contrib and you'll find it there, but i believe the loaded one is more up to date.
  6. ok for some reason the tax decimal place is only padding 3 decimals instead of 4, even if i set tax padding to 4 on admin->config i'm still getting 6.97 instead of 7.01.
  7. Ok I finished reading all 126 pages again and got most of the bugs worked out, but for some reason my tax isn't rounding correctly and i'm loosing sales tax of 3 cents on discounts. That sounds little but if u times that by 1000 thats $30.00 lost. For Example [Calculator]: ((59.98 + $30.00) - 5.00 CC) * 8.25% = 7.01 [CORRECT] With coupon: ((59.95 + 30.00) - $5.00 CC) * 8.25% = 6.97 Tax [iNCORRECT] -> Loss of 4 cents While reading the entire 126 pages I have tried padding the tax to 6 places in admin->Config. I have also tried the 2 rounding issues mentioned in my above post by Strider and someone else. My Sort order is Discount Coupons 9 Gift Vouchers 740 Low Order Fee Shipping 15 Sub-Total 1 Tax 12 Total 900 I believe this is the most correct way for a customer to read it because in California you don't charge tax on shipping. Also if you put discount coupon after anything other than subtotal as a customer i would assume your giving me a discount on shipping and whatever is above the discount coupon. Also I put gift vouchers last before total so that gift vouchers can pay for all of the above. I have also set: Discount Coupon Display Total true Sort Order 9 Include Shipping false Include Tax false Re-calculate Tax Standard Tax Class --none-- Thanks everyone for the help, especially strider for helping everyone!
  8. NM, this issue works above! =D
  9. Does anyone know a fix for this, i tested this again on a fresh install and get the same issue as before and I believe other people have this issue as well. Thanks again!
  10. Actually I got it fixed by changing the int(Oid) to (int)$HTTP_GET_VARS['order_id'] and removing the title. Thanks!
  11. Just wondering how did you get this to work on account_history_info.php? I tried doing the same thing and I can't get it to display any payment methods now, I believe it's the sql because it works on all the other pages.
  12. bump! I did a fresh install with CCGV 5.10b and did all the updates and am still receiving this issue.
  13. talon177

    Master Products - MS2

    I would recommend using a stable MS2.2 as CVS always change, therefore Master Products wont work with it.
  14. Hi guys, Ok so I just read from Page 60 to the end and have gone through all the fixes, and believe that I have found some other issues. Here's 1 example: Let's say your buying a Product for $5.00 and you have a Discount Coupon $1.00 and the coupon is valid on products > 0.00 and now when your making a payment using a $5.00 gift certificate your total should be. Subtotal: $5.00 Discount: -$1.00 Gift Certificate: $4.00 Total: $0.00 And then have a left over of $1.00 on gift certificate. But my current output is showing: Warning: Division by zero in /home/testsite/includes/modules/order_total/ot_coupon.php on line 316. On Line 316 it reads: $ratio1 = $od_amount/($amount-$order->info['tax_groups'][$key]); ////debug Even if i decide not to use the discount i'm still getting the same error above. Thanks again for the support! P.S. I have also tried using this on line 316 $ratio1 = round($od_amount/($amount-$order->info['tax_groups'][$key])); ////debug and also tried using the code below on line 49 $order->info['total'] = $order->info['total'] - (tep_round($od_amount,2));
  15. Does anyone have this working with CCGV and paypal ipn? I keep getting coupon not available yet
  16. Has anyone gotten Purchase Without Account, PayPal IPN, and CCGV to work together? I believe i'm having a problem because it's not logging my coupons as available yet.
  17. Everytime I add a coupon and try to use it, it says This coupon is not available yet on checkout_payment.php. Anyone know what might be the problem? Thanks.
  18. Woah I jsut found something wierd, i hope someone can help. Here's what I did. I bought a gift certificate of 5 dollars. Now next time i did a test shop and clicked on redeem when making a purchase using paypal and then I reach the paypal website and it shows the totals but when i accidently clicked back, it went back to the website and my 5 dollars disappeared allthough i never bought anything. Anyone ever experience this?
  19. talon177

    [Contribution]Paypal IPN - Devosc

    Woah I jsut found something wierd, i hope someone can help. Here's what I did. I bought a gift certificate of 5 dollars. Now next time i did a test shop and clicked on redeem when making a purchase using paypal and then I reach the paypal website and it shows the totals but when i accidently clicked back, it went back to the website and my 5 dollars disappeared allthough i never bought anything. Anyone ever experience this?
  20. talon177

    [Contribution]Paypal IPN - Devosc

    [2] catalog/includes/classes/order.php (around line 47) [3] catalog/includes/classes/order.php (around line 60) [4] catalog/includes/modules/payment/paypal.php (around line 159) [5] catalog/includes/modules/payment/paypal.php (around line 161) Change: $my_currency = $this->currency(); To: $my_currency = (tep_not_null($currency)) ? $currency : $this->currency(); [6] catalog/includes/modules/payment/paypal.php (around line 188) Change: $paypal_fields .= tep_draw_hidden_field('rm', MODULE_PAYMENT_PAYPAL_RM) . tep_draw_hidden_field('custom', $paypal_order_id) . To: $paypal_fields .= tep_draw_hidden_field('rm', MODULE_PAYMENT_PAYPAL_RM); $custom = (tep_not_null($orders_id)) ? $orders_id : $paypal_order_id; $paypal_fields .= tep_draw_hidden_field('custom', $custom) . [7] catalog/account_history_info.php (around line 238) Change: <td><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY, tep_get_all_get_params(array('order_id')), 'SSL') . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></td> To: ? ? ? ? ? ? ? ?<td><div style="float:left"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY, tep_get_all_get_params(array('order_id')), 'SSL') . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></div> <?php if(strtolower($order->info['payment_method']) == 'paypal' && $order->info['orders_status_id'] == MODULE_PAYMENT_PAYPAL_PROCESSING_STATUS_ID ) { ?> <?php include_once(DIR_WS_MODULES . 'payment/paypal/database_tables.php'); include_once(DIR_WS_MODULES . 'payment/paypal.php'); $paypal = new paypal(); $paypal_button = $paypal->_getPayPalFields(); ?> <div style="float:right"> <?php $form_action_url = 'https://www.paypal.com/cgi-bin/webscr'; echo tep_draw_form('checkout', $form_action_url, 'post'); $orders_session_query = tep_db_query("select entry_firstname as firstname, entry_lastname as lastname from " . TABLE_ORDERS_SESSION_INFO . " osi left join " . TABLE_ADDRESS_BOOK . " ab on osi.billto = ab.address_book_id where osi.orders_id ='" . (int)$HTTP_GET_VARS['order_id'] . "'"); $orders_session_info = tep_db_fetch_array($orders_session_query); $order->customer['firstname'] = $orders_session_info['firstname']; $order->customer['lastname'] = $orders_session_info['lastname']; $order->info['total'] = $order->info['total_value']; echo $paypal->_getPayPalFields($order->info['currency'],$HTTP_GET_VARS['order_id'])."\n"; echo tep_image_submit('button_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER) . '</form>' . "\n"; ?> </div> <?php } ?> ? ? ? ? ? ? ? ?</td> Remember that in order for PayPal to be able to prevent the customer from checking out with the same order number, then invoice synchronization must be enabled via osC->admin->modules->payment->paypal. And if you ever end up reseting your osC orders table you will have to reset/update the orders table auto-increment value to be higher than any previous PayPal order. The above has only been quickly implemented, and I haven't tested the whole sites functionality, but pretty confident that it will do the job intended based upon the above changes (hopefully I captured them all), anyway it can be can worked on. Has anyone tried this with ccgvyet?
  21. talon177

    [Contribution]Paypal IPN - Devosc

    Thanks greg, I just inputed this and will let u know how it works!
  22. talon177

    [Contribution]Paypal IPN - Devosc

    If using ccgv is this still needed in version 2.4? global $payment_modules, $shipping_modules, $order, $currencies, $cart, $customer_id, $sendto, $billto, $shipping, $payment, $language, $currency, $languages_id, $order_total_modules, $order_totals;
  23. talon177

    Master Products - MS2

    Not sure if this was mentioned, but is it possible for the shopping_cart.php page to display the master product image for the slave sale items? Currently my slaves are all hidden and the masters are listed but when a customer purchases a slave item the shopping_cart.php shows a x image. Any way to point this to it's master image?
×