Search the Community
Showing results for tags 'coupon'.
-
2 things strike me as a little odd. I set up a coupon, but cant send it to a customer, from the customer send coupon button, unless I have sent it already from coupon admin. It also appears to be session related in that, I sent yesterday whilst doing some test and this morning it wouldn't send the coupon's from from the customers section in admin via send coupon unless I had first sent from coupon admin. Secondly the icon for the logo, the link appears to take you to admin rather than the website for users, looking for where this is changed as dont want customers directed to admin.
-
Stripe payment option not recognizing discount coupon amount
AdmiralRedBeard posted a topic in Other
Hi, I am in desperate need of some help. I installed the Stripe payment option in my v2.3.4 online store as an additional option to PayPal. I am testing to make sure that the discount coupons that I set up in my admin area are calculated and processed upon payment by the customer. In both PayPal and now in Stripe the amount of the coupon discount are not either being carried or recognized on the processor's end. The coupon discount accurately displays on my checkout_confirmation page. This is very discouraging. I am hoping that someone can help me because it is delaying the grand opening of my online store because I want to offer a Grand Opening sale. I posted back in December about my PayPal issue and have not received any help or advice. I have attached screenshots of the Stripe log and the order info from my website.Stripe Log.pdfshopping cart page.pdf Any help that you can provide me would be greatly appreciated and I'm sure would help others. Thank you in advance. Tim -
Downloaded this add-on: http://addons.oscommerce.com/info/8002 I have never installed an add-on and I am not sure how to do this... Do I just replace all my files with the matching downloaded files? The instructions say something about "do a sql query". I just don't want to mess anything up. Help! TY
-
Hii All Im using osCommerce 2.2-MS2 with osCommerce_PayPal_IPN_v2.3.3 and KGT Discount coupon code module dc_autoinstaller_2.14_2_1 And i did some changes found on forum. But still my discount amount does not transfer to paypal. It shows total amount without applying Discount percentage. When i try with bank transfer payment method it shows correct amount. If i used paypal payment method after first using bank transfer payment method, then paypal also shows correct discounted total amount. But if i try paypal as a payment method at the first place, it doesnt show discounted total. I tried installing different paypal IPNs and discount module versions. But still my problem same. If you guys have any idea how to fix this error please help me. i really appriciate any level of help. Thank you so much in advance. ----------------------------------------------------- i did following changes. ----------------------------------------------------- 1) I selected aggregate instead of individual On transaction type. 2) FIND around line 195: //+1.4 $sql_data_array = array('orders_id' => $insert_id, 'orders_status_id' => $order->info['order_status'], 'date_added' => 'now()', 'customer_notified' => '0', 'comments' => $order->info['comments']); tep_db_perform(TABLE_ORDERS_STATUS_HISTORY, $sql_data_array); //-1.4 ADD this code after: //kgt - discount coupons if( tep_session_is_registered( 'coupon' ) && is_object( $order->coupon ) ) { $sql_data_array = array( 'coupons_id' => $order->coupon->coupon['coupons_id'], 'orders_id' => $insert_id ); tep_db_perform( TABLE_DISCOUNT_COUPONS_TO_ORDERS, $sql_data_array ); } //end kgt - discount coupons FIND around line 493: // unregister session variables used during checkout tep_session_unregister('sendto'); tep_session_unregister('billto'); tep_session_unregister('shipping'); tep_session_unregister('payment'); tep_session_unregister('comments'); ADD this code after: //kgt - discount coupons tep_session_unregister('coupon'); //end kgt - discount coupons 3) FOLLOWING CODE: if(MOVE_TAX_TO_TOTAL_AMOUNT == 'True') { $parameters['amount'] = number_format(($subtotal + $order->info['tax']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); } else { // default $parameters['amount'] = number_format($subtotal * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); $parameters['tax'] = number_format($order->info['tax'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); } Updated to THIS : if(MOVE_TAX_TO_TOTAL_AMOUNT == 'True') { if (isset($order_total['ot_gv']) || isset($order_total['ot_coupon'])) { //the discount will apply to the order total $parameters['amount'] = number_format((($subtotal + $order->info['tax'] + $shipping) * $currencies->get_value($my_currency)) - $order_total['ot_gv'] - $order_total['ot_coupon'], $currencies->get_decimal_places($my_currency)); }else{ $parameters['amount'] = number_format(($subtotal + $order->info['tax'] + $shipping) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); } } else { // default $parameters['amount'] = number_format(($subtotal + $shipping) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); $parameters['tax'] = number_format($order->info['tax'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); }