Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
as always, you’re awesome. I’ll implement later today and advise. Appreciate the quick response.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
Actually, the problem I'm having is the payment method, I believe. It wont let the payment method be selected.
There is ONLY ONE payment method and its the MONEYORDER mod.
I had already made the referenced change above before posting.
OTHER THOUGHTS?
Re: One-Page Checkout [Support Thread]
In looking back at my notes, the error issued was resolved with the fix you suggested... and to clarify, I cant select the payment method.
Re: One-Page Checkout [Support Thread]
Are there additional jQuery/javascript issues? Use your browser's 'developer tools' to view the console-log.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
Are there additional jQuery/javascript issues? Use your browser's 'developer tools' to view the console-log.
These are the rseults when its activated:
[Error] Failed to load resource: the server responded with a status of 500 (Internal Server Error) (success.png, line 0)
[Log] Missing #ottotal > div:first-child (jquery.checkout_one.min.js, line 5)
[Log] Missing #otshipping (jquery.checkout_one.min.js, line 5)
[Log] setFormSubmitButton, payment-module: moneyorder (jquery.checkout_one.min.js, line 5)
[Log] Showing "confirm" (jquery.checkout_one.min.js, line 5)
[Log] Setting orderConfirmed (0), submitter (null) (jquery.checkout_one.min.js, line 5)
[Log] jQuery version: 3.5.1 (jquery.checkout_one.min.js, line 5)
Attachment 19802
2 Attachment(s)
Re: One-Page Checkout [Support Thread]
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
Carbonless
These are the rseults when its activated:
[Error] Failed to load resource: the server responded with a status of 500 (Internal Server Error) (success.png, line 0)
[Log] Missing #ottotal > div:first-child (jquery.checkout_one.min.js, line 5)
[Log] Missing #otshipping (jquery.checkout_one.min.js, line 5)
[Log] setFormSubmitButton, payment-module: moneyorder (jquery.checkout_one.min.js, line 5)
[Log] Showing "confirm" (jquery.checkout_one.min.js, line 5)
[Log] Setting orderConfirmed (0), submitter (null) (jquery.checkout_one.min.js, line 5)
[Log] jQuery version: 3.5.1 (jquery.checkout_one.min.js, line 5)
Attachment 19802
There's some kind of PHP-related error during the checkout; check your site's /logs sub-directory for additional information.
Re: One-Page Checkout [Support Thread]
Currently running OPC 2.3.9, bootstrap 3.15., Zen 1.5.7c
I have had a weird "error" of sorts, and I'm not sure if it is something caused by OPC, or if it is an error with PayPal.
Yesterday I had a duplicate order that came through 2 seconds after the first. The below CURL log came through at the same exact time as the first order (personal information redacted by me with XXXX);
Code:
2021-11-10 02:46:50
-------------------
(live transaction) --> https://api-3t.paypal.com/nvp
Request Headers:
Array
(
[0] => Content-Type: text/namevalue
[1] => X-VPS-Timeout: 90
[2] => X-VPS-VIT-Client-Type: PHP/cURL
[3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart(R) - PayPal/NVP
[4] => X-VPS-VIT-Integration-Version: 1.5.7
)
Request Parameters: {DoDirectPayment}
Array
(
[ACCT] => ************XXXXX
[AMT] => 99.79
[BUTTONSOURCE] => ZenCart-DP_us
[CARDISSUE] =>
[CITY] => Portland
[COUNTRYCODE] => US
[CREDITCARDTYPE] => Visa
[CUSTOM] => DP-23021-1636577207
[CVV2] => ***
[EMAIL] => XXXXX
[EXPDATE] => XXXXX
[FIRSTNAME] => XXXXX
[INVNUM] => 23021-1636577207-[sicassracingcom]
[IPADDRESS] => 76.27.207.119
[ITEMAMT] => 84.9
[LASTNAME] => XXXXX
[L_AMT0] => 44.95
[L_AMT1] => 39.95
[L_NAME0] => KTM Bar Mounted Hi/Lo/Off Headlight switch [316] Switch Type: 2005-20 KTM Factory Headlight *NOT 2007-20 EXC
[L_NAME1] => KTM/HQV Front Brake Switch Kit - M10x1.00 [167]
[L_NUMBER0] => 26-030T
[L_NUMBER1] => 26-036
[L_QTY0] => 1
[L_QTY1] => 1
[NOTIFYURL] => https://sicassracing.com/store/ipn_main_handler.php
[PAYMENTACTION] => Sale
[PAYMENTREQUEST_0_PAYMENTACTION] => Sale
[PHONENUM] => XXXXX
[SHIPPINGAMT] => 14.89
[SHIPTOCITY] => Portland
[SHIPTOCOUNTRYCODE] => US
[SHIPTONAME] => XXXXX
[SHIPTOSTATE] => XXXXX
[SHIPTOSTREET] => XXXXX
[SHIPTOZIP] => XXXXX
[STATE] => XXXXX
[STREET] => XXXXX
[ZIP] => XXXXX
[METHOD] => DoDirectPayment
[CURRENCYCODE] => USD
[USER] => XXXXXXXXXXXXXX
[PWD] => ****************
[VERSION] => 124.0
[SIGNATURE] => ****************************************************Nui4
)
Response:
Array
(
[TIMESTAMP] => 2021-11-10T20:46:50Z
[CORRELATIONID] => 5a8445f99fbf3
[ACK] => Failure
[VERSION] => 124.0
[BUILD] => 56068150
[L_ERRORCODE0] => 10536
[L_SHORTMESSAGE0] => Invalid Data
[L_LONGMESSAGE0] => The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID
[L_SEVERITYCODE0] => Error
[AMT] => 99.79
[CURRENCYCODE] => USD
[CURL_ERRORS] =>
)
DoDirectPayment, Elapsed: 2840ms -- Failure
TIMESTAMP=2021%2d11%2d10T20%3a46%3a50Z&CORRELATIONID=5a8445f99fbf3&ACK=Failure&VERSION=124%2e0&BUILD=56068150&L_ERRORCODE0=10536&L_SHORTMESSAGE0=Invalid%20Data&L_LONGMESSAGE0=The%20transaction%20was%20refused%20as%20a%20result%20of%20a%20duplicate%20invoice%20ID%20supplied%2e%20%20Attempt%20with%20a%20new%20invoice%20ID&L_SEVERITYCODE0=Error&AMT=99%2e79&CURRENCYCODE=USD&CURL_ERRORS=
Could this be caused by a poor mobile connection? Or possibly the customer refreshing the page during payment processing?
This has happened once before a few weeks back (on OPC 2.3.8), and 3 orders were processed through. All 1 second apart. Any insight would be greatly appreciated.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
mikestaps
Currently running OPC 2.3.9, bootstrap 3.15., Zen 1.5.7c
I have had a weird "error" of sorts, and I'm not sure if it is something caused by OPC, or if it is an error with PayPal.
Yesterday I had a duplicate order that came through 2 seconds after the first. The below CURL log came through at the same exact time as the first order (personal information redacted by me with XXXX);
Code:
2021-11-10 02:46:50
-------------------
(live transaction) --> https://api-3t.paypal.com/nvp
Request Headers:
Array
(
[0] => Content-Type: text/namevalue
[1] => X-VPS-Timeout: 90
[2] => X-VPS-VIT-Client-Type: PHP/cURL
[3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart(R) - PayPal/NVP
[4] => X-VPS-VIT-Integration-Version: 1.5.7
)
Request Parameters: {DoDirectPayment}
Array
(
[ACCT] => ************XXXXX
[AMT] => 99.79
[BUTTONSOURCE] => ZenCart-DP_us
[CARDISSUE] =>
[CITY] => Portland
[COUNTRYCODE] => US
[CREDITCARDTYPE] => Visa
[CUSTOM] => DP-23021-1636577207
[CVV2] => ***
[EMAIL] => XXXXX
[EXPDATE] => XXXXX
[FIRSTNAME] => XXXXX
[INVNUM] => 23021-1636577207-[sicassracingcom]
[IPADDRESS] => 76.27.207.119
[ITEMAMT] => 84.9
[LASTNAME] => XXXXX
[L_AMT0] => 44.95
[L_AMT1] => 39.95
[L_NAME0] => KTM Bar Mounted Hi/Lo/Off Headlight switch [316] Switch Type: 2005-20 KTM Factory Headlight *NOT 2007-20 EXC
[L_NAME1] => KTM/HQV Front Brake Switch Kit - M10x1.00 [167]
[L_NUMBER0] => 26-030T
[L_NUMBER1] => 26-036
[L_QTY0] => 1
[L_QTY1] => 1
[NOTIFYURL] => https://sicassracing.com/store/ipn_main_handler.php
[PAYMENTACTION] => Sale
[PAYMENTREQUEST_0_PAYMENTACTION] => Sale
[PHONENUM] => XXXXX
[SHIPPINGAMT] => 14.89
[SHIPTOCITY] => Portland
[SHIPTOCOUNTRYCODE] => US
[SHIPTONAME] => XXXXX
[SHIPTOSTATE] => XXXXX
[SHIPTOSTREET] => XXXXX
[SHIPTOZIP] => XXXXX
[STATE] => XXXXX
[STREET] => XXXXX
[ZIP] => XXXXX
[METHOD] => DoDirectPayment
[CURRENCYCODE] => USD
[USER] => XXXXXXXXXXXXXX
[PWD] => ****************
[VERSION] => 124.0
[SIGNATURE] => ****************************************************Nui4
)
Response:
Array
(
[TIMESTAMP] => 2021-11-10T20:46:50Z
[CORRELATIONID] => 5a8445f99fbf3
[ACK] => Failure
[VERSION] => 124.0
[BUILD] => 56068150
[L_ERRORCODE0] => 10536
[L_SHORTMESSAGE0] => Invalid Data
[L_LONGMESSAGE0] => The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID
[L_SEVERITYCODE0] => Error
[AMT] => 99.79
[CURRENCYCODE] => USD
[CURL_ERRORS] =>
)
DoDirectPayment, Elapsed: 2840ms -- Failure
TIMESTAMP=2021%2d11%2d10T20%3a46%3a50Z&CORRELATIONID=5a8445f99fbf3&ACK=Failure&VERSION=124%2e0&BUILD=56068150&L_ERRORCODE0=10536&L_SHORTMESSAGE0=Invalid%20Data&L_LONGMESSAGE0=The%20transaction%20was%20refused%20as%20a%20result%20of%20a%20duplicate%20invoice%20ID%20supplied%2e%20%20Attempt%20with%20a%20new%20invoice%20ID&L_SEVERITYCODE0=Error&AMT=99%2e79&CURRENCYCODE=USD&CURL_ERRORS=
Could this be caused by a poor mobile connection? Or possibly the customer refreshing the page during payment processing?
This has happened once before a few weeks back (on OPC 2.3.8), and 3 orders were processed through. All 1 second apart. Any insight would be greatly appreciated.
That could have been either of the conditions you listed. If you've got access to your site's "Raw Access Logs" (usually available via cPanel), you could search that log for the customer's IP address to see how they traversed through the site. That would also provide indication regarding the possibility of a "page refresh" during the checkout-process step.
Re: One-Page Checkout [Support Thread]
Shoot... the server deletes the raw access logs every 24hrs. I made a change so it will archive them from now on. Thanks for the tip on how to look up what could be happening.