Coupon Display on Authorize (SIM)

  • Posts: 41
  • Thank you received: 0
12 years 4 months ago #32950

Have your business edition but when a customer checks out and DOES NOT put in a coupon the coupon field shows up in the Authorize.net SIM page. See attached. Anyway to get rid of this when customer doesn't have any coupons.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
12 years 4 months ago #32973

The coupon is only sent to authorize when there is one in the order.
Are you sure that you didn't had any coupon ?
I don't see how that could happen without a coupon. Could you give a link to your website so that we can see that ?

Please Log in or Create an account to join the conversation.

  • Posts: 41
  • Thank you received: 0
12 years 4 months ago #32987

I just tested it on the live site and the same problem.

shop.bunkerhillsgolf.com

Please Log in or Create an account to join the conversation.

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
12 years 4 months ago #32988

Could you change the line:
if(!empty($order->cart->coupon)){

to:
if(!empty($order->cart->coupon) && @$order->cart->coupon->discount_value>0){
in the file plugins/hikashoppayment/authorize.php and try again ?

Please Log in or Create an account to join the conversation.

  • Posts: 41
  • Thank you received: 0
12 years 4 months ago #32989

Worked great Thanks!

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum