- Posts: 41
- Thank you received: 0
Coupon Display on Authorize (SIM)
14 years 9 months ago #32950
by gteigland
Coupon Display on Authorize (SIM) was created by gteigland
Please Log in or Create an account to join the conversation.
14 years 9 months ago #32973
by nicolas
Replied by nicolas on topic Re: Coupon Display on Authorize (SIM)
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 ?
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.
14 years 9 months ago #32987
by gteigland
Replied by gteigland on topic Re: Coupon Display on Authorize (SIM)
I just tested it on the live site and the same problem.
shop.bunkerhillsgolf.com
shop.bunkerhillsgolf.com
Please Log in or Create an account to join the conversation.
14 years 9 months ago #32988
by nicolas
Replied by nicolas on topic Re: Coupon Display on Authorize (SIM)
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 ?
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.
14 years 9 months ago #32989
by gteigland
Replied by gteigland on topic Re: Coupon Display on Authorize (SIM)
Worked great Thanks!
Please Log in or Create an account to join the conversation.
Time to create page: 0.200 seconds