Zen Cart Logo
Forums / Discounts/Coupons, Gift Certificates, Newsletters, Ads / Customer Able to Check Out with Gift Certificate/Coupon

Customer Able to Check Out with Gift Certificate/Coupon

Views: 2,270

Results 1 to 6 of 6
26 Sep 2025, 2:01 PM
#1
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Customer Able to Check Out with Gift Certificate/Coupon

I had a customer able to check out with paying, it seems. When I look at the invoice, it says "Pending" (rather than "Processing") and the payment shows as "Payment Method: Gift Certificate/Coupon" on the invoice and the order summary shows "GV/DC". I do not offer gift certificates and I only have one active coupon code for the local animal rescue. My payment methods are PayPal Express Checkout and Square WebPay. There are absolutely no other options that come up when you get to the checkout step. I cannot duplicate a scenario where I could check out without valid payment.

The only thing I can determine is that my Square WebPay OAuth code had to be updated (I hate how that expires every 30 days) and I think that may have something to do with it. I have updated it now, but obviously it won't retroactively capture the customer's card info. It's a local order so I will be able to collect upon delivery, but can someone please advise how to prevent a customer from checking out in a situation like this?

I am using v1.5.7c

16 Oct 2025, 10:37 AM
#2
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Customer Able to Check Out with Gift Certificate/Coupon

gizmo_girl:

I had a customer able to check out with paying, it seems. When I look at the invoice, it says "Pending" (rather than "Processing") and the payment shows as "Payment Method: Gift Certificate/Coupon" on the invoice and the order summary shows "GV/DC". I do not offer gift certificates and I only have one active coupon code for the local animal rescue. My payment methods are PayPal Express Checkout and Square WebPay. There are absolutely no other options that come up when you get to the checkout step. I cannot duplicate a scenario where I could check out without valid payment.

The only thing I can determine is that my Square WebPay OAuth code had to be updated (I hate how that expires every 30 days) and I think that may have something to do with it. I have updated it now, but obviously it won't retroactively capture the customer's card info. It's a local order so I will be able to collect upon delivery, but can someone please advise how to prevent a customer from checking out in a situation like this?

I am using v1.5.7c

There is a CRON job for reauthenticating the token

php /home/xxxx/public_html/squareWebPay_handler.php

for example =)

17 Oct 2025, 6:51 PM
#3
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Re: Customer Able to Check Out with Gift Certificate/Coupon

mprough:

There is a CRON job for reauthenticating the token

php /home/xxxx/public_html/squareWebPay_handler.php

for example =)

I only know enough about this to be dangerous (I don't even know what a CRON job is, let alone how to program something like that). Is there someplace I can find very detailed step-by-step instructions how to do this?

Thanks!

17 Oct 2025, 7:30 PM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Customer Able to Check Out with Gift Certificate/Coupon

Is there someplace I can find very detailed step-by-step instructions how to do this?

https://docs.zen-cart.com/user/payment/square_avoiding_token_expiry/

17 Oct 2025, 8:00 PM
#5
gizmo_girl avatar

gizmo_girl

Zen Follower

Join Date:
Nov 2007
Location:
Texas
Posts:
286
Plugin Contributions:
0

Re: Customer Able to Check Out with Gift Certificate/Coupon

swguy:

Is there someplace I can find very detailed step-by-step instructions how to do this?

https://docs.zen-cart.com/user/payment/square_avoiding_token_expiry/

Thanks - where it says YOURSTORE, I assume that's my full domain (www.storename.com)?

Sorry, I know that probably sounds like an incredibly dumb question to people that actually know what they are doing. :lookaroun

17 Oct 2025, 8:47 PM
#6
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Customer Able to Check Out with Gift Certificate/Coupon

Thanks - where it says YOURSTORE, I assume that's my full domain (www.storename.com)?

That is correct.

Sorry, I know that probably sounds like an incredibly dumb question to people that actually know what they are doing.

Remember that everyone who knows what they are doing now was once where you are. Keep learning and improving.