Recently had my ZC website hosting server crash. It finally came back online after a number of days and moving servers, updating dns etc. I've made no changes to the website, or any settings and it was supposed to be a full restore.
After it finally came back up I had a customer who mentioned an error on the site, at checkout. They click submit and it shows ("please reload the page and try again")", they go ahead and do that and it pulls the payment twice or as many times as they hit refresh. I've had another customer mention this same issue with I believe Paypal Direct API.
I found the following error in the logs.
Thanks for info. I see the following in there:
16-Jul-2017 02:57:26 UTC] PHP Fatal error: 1364:Field 'order_site' doesn't have a default value :: INSERT INTO zen_orders (customers_id, customers_name, customers_company, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, customers_telephone, customers_email_address, customers_address_format_id, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country, billing_address_format_id, payment_method, payment_module_code, shipping_method, shipping_module_code, coupon_code, cc_type, cc_owner, cc_number, cc_expires, date_purchased, orders_status, order_total, order_tax, currency, currency_value, ip_address, COWOA_order) (as called by) /home/xxxx/public_html/includes/functions/functions_general.php on line 965 <== in /home/xxxx/public_html/includes/classes/db/mysql/query_factory.php on line 155
I had another customer who tried to checkout with Paypal Express and they received the same error. This time I was sent an error log from Paypal.
"Dear store owner,
An error occurred when attempting to initiate a PayPal Express Checkout transaction. As a courtesy, only the error "number" was shown to your customer. The details of the error are shown below.
10415
Transaction refused because of an invalid argument. See additional error messages for details.
A successful transaction has already been completed for this token.
Zen Cart message: It appears that your order was submitted twice. Please check the My Account area to see the actual order details. Please use the Contact Us form if your order does not appear here but is already paid from your PayPal account so that we may check our records and reconcile this with you."
I believe that it may be related to sql or PHP upgrade that the host did on the new server, but am sure on that.
Thanks for your time and help.


Reply With Quote

