Forums / All Other Contributions/Addons / One-Page Checkout [Support Thread]

One-Page Checkout [Support Thread]

Views: 633,121

Results 2,561 to 2,580 of 3,107
19 Jan 2023, 1:32 PM
#2561
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,305
Plugin Contributions:
39

One-Page Checkout [Support Thread]

Morning =)

So I have a new build 1.5.8 running the latest bootstrap & opc on PHP 7.3 (because of this https://www.zen-cart.com/showthread.php?229222-Paypal-Payments-Pro-1-5-8) . When the confirm order is pressed nothing happens. I think the issues is also related to PayPal PRO. PHP is downgraded purposely because of the issues (bug) with PayPal PRO on PHP 8.

[19-Jan-2023 08:17:45 America/New_York] Request URI: /ajax.php?act=ajaxPayment&method=prepareConfirmation, IP address: 134.215.175.155
#1  paypaldp->__construct() called at [/home/xxx/public_html/includes/classes/payment.php:102]
#2  payment->__construct() called at [/home/xxx/public_html/includes/classes/ajax/zcAjaxPayment.php:80]
#3  zcAjaxPayment->prepareConfirmation() called at [/home/xxx/public_html/ajax.php:85]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPALDP_DEBUGGING - assumed 'MODULE_PAYMENT_PAYPALDP_DEBUGGING' (this will throw an Error in a future version of PHP) in /home/xxx/public_html/includes/modules/payment/paypaldp.php on line 282.

[19-Jan-2023 08:17:45 America/New_York] Request URI: /ajax.php?act=ajaxPayment&method=prepareConfirmation, IP address: 134.215.175.155
#1  paypaldp->__construct() called at [/home/xxx/public_html/includes/classes/payment.php:102]
#2  payment->__construct() called at [/home/xxx/public_html/includes/classes/ajax/zcAjaxPayment.php:80]
#3  zcAjaxPayment->prepareConfirmation() called at [/home/xxx/public_html/ajax.php:85]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPALDP_DEBUGGING - assumed 'MODULE_PAYMENT_PAYPALDP_DEBUGGING' (this will throw an Error in a future version of PHP) in /home/xxx/public_html/includes/modules/payment/paypaldp.php on line 282.

[19-Jan-2023 08:17:45 America/New_York] Request URI: /ajax.php?act=ajaxPayment&method=prepareConfirmation, IP address: 134.215.175.155
#1  paypaldp->__construct() called at [/home/xxx/public_html/includes/classes/payment.php:102]
#2  payment->__construct() called at [/home/xxx/public_html/includes/classes/ajax/zcAjaxPayment.php:80]
#3  zcAjaxPayment->prepareConfirmation() called at [/home/xxx/public_html/ajax.php:85]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPALDP_DEBUGGING - assumed 'MODULE_PAYMENT_PAYPALDP_DEBUGGING' (this will throw an Error in a future version of PHP) in /home/xxx/public_html/includes/modules/payment/paypaldp.php on line 283.

[19-Jan-2023 08:17:45 America/New_York] Request URI: /ajax.php?act=ajaxPayment&method=prepareConfirmation, IP address: 134.215.175.155
#1  paypaldp->__construct() called at [/home/xxx/public_html/includes/classes/payment.php:102]
#2  payment->__construct() called at [/home/xxx/public_html/includes/classes/ajax/zcAjaxPayment.php:80]
#3  zcAjaxPayment->prepareConfirmation() called at [/home/xxx/public_html/ajax.php:85]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPALDP_DEBUGGING - assumed 'MODULE_PAYMENT_PAYPALDP_DEBUGGING' (this will throw an Error in a future version of PHP) in /home/xxx/public_html/includes/modules/payment/paypaldp.php on line 283.

[19-Jan-2023 08:17:45 America/New_York] Request URI: /ajax.php?act=ajaxPayment&method=prepareConfirmation, IP address: 134.215.175.155
#1  paypaldp->__construct() called at [/home/xxx/public_html/includes/classes/payment.php:102]
#2  payment->__construct() called at [/home/xxx/public_html/includes/classes/ajax/zcAjaxPayment.php:80]
#3  zcAjaxPayment->prepareConfirmation() called at [/home/xxx/public_html/ajax.php:85]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPALDP_DEBUGGING - assumed 'MODULE_PAYMENT_PAYPALDP_DEBUGGING' (this will throw an Error in a future version of PHP) in /home/xxx/public_html/includes/modules/payment/paypaldp.php on line 283.

[19-Jan-2023 08:17:45 America/New_York] Request URI: /ajax.php?act=ajaxPayment&method=prepareConfirmation, IP address: 134.215.175.155
#1  require_once() called at [/home/xxx/public_html/includes/classes/ajax/zcAjaxPayment.php:177]
#2  zcAjaxPayment->prepareConfirmation() called at [/home/xxx/public_html/ajax.php:85]
--> PHP Warning: require_once(/home/xxx/public_html/includes/languages/english.php): failed to open stream: No such file or directory in /home/xxx/public_html/includes/classes/ajax/zcAjaxPayment.php on line 177.

[19-Jan-2023 08:17:45 America/New_York] PHP Fatal error:  require_once(): Failed opening required '/home/xxx/public_html/includes/languages/english.php' (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home/xxx/public_html/includes/classes/ajax/zcAjaxPayment.php on line 177

I also have PM'd you the debug log.

Thanks in advance.

19 Jan 2023, 3:31 PM
#2562
swguy avatar

swguy

Administrator

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

Re: One-Page Checkout [Support Thread]

this issue is fixed - please see Known Bugs in 1.5.8 thread.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

19 Jan 2023, 4:25 PM
#2563
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,305
Plugin Contributions:
39

Re: One-Page Checkout [Support Thread]

Awesome thank you. It's kinda hidden a bit =) I'm used to seeing it in Forum: Zen Cart Release Announcements in its' own thread.

19 Jan 2023, 6:53 PM
#2564
swguy avatar

swguy

Administrator

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

Re: One-Page Checkout [Support Thread]

It will go there as soon as we release. We haven't released 1.5.8a yet.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

20 Jan 2023, 11:00 AM
#2565
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,305
Plugin Contributions:
39

Re: One-Page Checkout [Support Thread]

So I did the bug fixes... whole file, not search & replace several times... but now when I checkout with a credit card I get

10002 Security error - Security header is not valid
It's also worth noting that I uninstall PP express & PP pro and reinstalled them. I researched the error and triple checked all of the credentials they are correct.
Transaction results in the security header error, here is the curl log

2023-01-20 05:51:45
-------------------
(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.8
)
Request Parameters: {DoDirectPayment} 
Array
(
    [ACCT] => ************5340
    [AMT] => 15.98
    [BUTTONSOURCE] => ZenCart-DP_us
    [CARDISSUE] => 
    [CITY] => Woodbine
    [COUNTRYCODE] => US
    [CREDITCARDTYPE] => Visa
    [CUSTOM] => DP-13256-1674211905
    [CVV2] => ***
    [EMAIL] => [email protected]
    [EXPDATE] => 062023
    [FIRSTNAME] => xxxx
    [INVNUM] => 13256-1674211905-[xxx]
    [IPADDRESS] => xxx.xxx.xxx.xxx
    [ITEMAMT] => 5.25
    [LASTNAME] => xxxx
    [L_AMT0] => 5.25
    [L_NAME0] => Glass Shaker - Set of 2 [1868]
    [L_NUMBER0] => 742
    [L_QTY0] => 1
    [NOTIFYURL] => https://xxx/new/ipn_main_handler.php
    [PAYMENTACTION] => Sale
    [PAYMENTREQUEST_0_PAYMENTACTION] => Sale
    [PHONENUM] => xxx
    [SHIPPINGAMT] => 10.73
    [SHIPTOCITY] => xxxx
    [SHIPTOCOUNTRYCODE] => US
    [SHIPTONAME] => xxxx
    [SHIPTOSTATE] => GA
    [SHIPTOSTREET] => xxxx
    [SHIPTOZIP] => xxxx
    [STATE] => GA
    [STREET] => xxxx
    [ZIP] => xxxx
    [METHOD] => DoDirectPayment
    [CURRENCYCODE] => USD
    [USER] => xxxx_api1.xxxx.com
    [PWD] => ****************
    [VERSION] => 124.0
    [SIGNATURE] => ****************************************************tfB8
)
Response: 
Array
(
    [TIMESTAMP] => 2023-01-20T10:51:45Z
    [CORRELATIONID] => 4ce933a95d3bf
    [ACK] => Failure
    [VERSION] => 124.0
    [BUILD] => 56068150
    [L_ERRORCODE0] => 10002
    [L_SHORTMESSAGE0] => Security error
    [L_LONGMESSAGE0] => Security header is not valid
    [L_SEVERITYCODE0] => Error
    [CURL_ERRORS] => 
)
DoDirectPayment, Elapsed: 506ms -- Failure

TIMESTAMP=2023%2d01%2d20T10%3a51%3a45Z&CORRELATIONID=4ce933a95d3bf&ACK=Failure&VERSION=124%2e0&BUILD=56068150&L_ERRORCODE0=10002&L_SHORTMESSAGE0=Security%20error&L_LONGMESSAGE0=Security%20header%20is%20not%20valid&L_SEVERITYCODE0=Error&CURL_ERRORS=

new build 1.5.8 running the latest bootstrap & opc on PHP 7.3
Continued in next post as it was too long....

Thanks in advance
~Melanie

20 Jan 2023, 11:04 AM
#2566
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,305
Plugin Contributions:
39

Re: One-Page Checkout [Support Thread]

Also the following log warning

[20-Jan-2023 05:51:45 America/New_York] Request URI: /new/index.php?main_page=checkout_process, IP address: 134.215.175.155
#1  paypaldp->__construct() called at [/home/xxx/public_html/new/includes/classes/payment.php:102]
#2  payment->__construct() called at [/home/xxx/public_html/new/includes/modules/checkout_process.php:45]
#3  require(/home/xxx/public_html/new/includes/modules/checkout_process.php) called at [/home/xxx/public_html/new/includes/modules/pages/checkout_process/header_php.php:13]
#4  require(/home/xxx/public_html/new/includes/modules/pages/checkout_process/header_php.php) called at [/home/xxx/public_html/new/index.php:35]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPALDP_DEBUGGING - assumed 'MODULE_PAYMENT_PAYPALDP_DEBUGGING' (this will throw an Error in a future version of PHP) in /home/xxx/public_html/new/includes/modules/payment/paypaldp.php on line 282.

[20-Jan-2023 05:51:45 America/New_York] Request URI: /new/index.php?main_page=checkout_process, IP address: 134.215.175.155
#1  paypaldp->__construct() called at [/home/xxx/public_html/new/includes/classes/payment.php:102]
#2  payment->__construct() called at [/home/xxx/public_html/new/includes/modules/checkout_process.php:45]
#3  require(/home/xxx/public_html/new/includes/modules/checkout_process.php) called at [/home/xxx/public_html/new/includes/modules/pages/checkout_process/header_php.php:13]
#4  require(/home/xxx/public_html/new/includes/modules/pages/checkout_process/header_php.php) called at [/home/xxx/public_html/new/index.php:35]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPALDP_DEBUGGING - assumed 'MODULE_PAYMENT_PAYPALDP_DEBUGGING' (this will throw an Error in a future version of PHP) in /home/xxx/public_html/new/includes/modules/payment/paypaldp.php on line 283.

[20-Jan-2023 05:51:45 America/New_York] Request URI: /new/index.php?main_page=checkout_process, IP address: 134.215.175.155
#1  paypaldp->zcLog() called at [/home/xxx/public_html/new/includes/modules/payment/paypaldp.php:1855]
#2  paypaldp->getLineItemDetails() called at [/home/xxx/public_html/new/includes/modules/payment/paypaldp.php:744]
#3  paypaldp->before_process() called at [/home/xxx/public_html/new/includes/classes/payment.php:288]
#4  payment->before_process() called at [/home/xxx/public_html/new/includes/modules/checkout_process.php:98]
#5  require(/home/xxx/public_html/new/includes/modules/checkout_process.php) called at [/home/xxx/public_html/new/includes/modules/pages/checkout_process/header_php.php:13]
#6  require(/home/xxx/public_html/new/includes/modules/pages/checkout_process/header_php.php) called at [/home/xxx/public_html/new/index.php:35]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPALDP_DEBUGGING - assumed 'MODULE_PAYMENT_PAYPALDP_DEBUGGING' (this will throw an Error in a future version of PHP) in /home/xxx/public_html/new/includes/modules/payment/paypaldp.php on line 1266.

[20-Jan-2023 05:51:45 America/New_York] Request URI: /new/index.php?main_page=checkout_process, IP address: 134.215.175.155
#1  paypaldp->_doDebug() called at [/home/xxx/public_html/new/includes/modules/payment/paypaldp.php:1276]
#2  paypaldp->zcLog() called at [/home/xxx/public_html/new/includes/modules/payment/paypaldp.php:1855]
#3  paypaldp->getLineItemDetails() called at [/home/xxx/public_html/new/includes/modules/payment/paypaldp.php:744]
#4  paypaldp->before_process() called at [/home/xxx/public_html/new/includes/classes/payment.php:288]
#5  payment->before_process() called at [/home/xxx/public_html/new/includes/modules/checkout_process.php:98]
#6  require(/home/xxx/public_html/new/includes/modules/checkout_process.php) called at [/home/xxx/public_html/new/includes/modules/pages/checkout_process/header_php.php:13]
#7  require(/home/xxx/public_html/new/includes/modules/pages/checkout_process/header_php.php) called at [/home/xxx/public_html/new/index.php:35]
--> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPALDP_DEBUGGING - assumed 'MODULE_PAYMENT_PAYPALDP_DEBUGGING' (this will throw an Error in a future version of PHP) in /home/xxx/public_html/new/includes/modules/payment/paypaldp.php on line 1282.

Also when I install or uninstall pro I get a database error.

[20-Jan-2023 05:28:25 America/New_York] Request URI: /new/xxx/index.php?cmd=modules&set=payment&action=install, IP address: 134.215.175.155
#1  trigger_error() called at [/home/xxx/public_html/new/includes/classes/db/mysql/query_factory.php:667]
#2  queryFactory->show_error() called at [/home/xxx/public_html/new/includes/classes/db/mysql/query_factory.php:634]
#3  queryFactory->set_error() called at [/home/xxx/public_html/new/includes/classes/db/mysql/query_factory.php:275]
#4  queryFactory->Execute() called at [/home/xxx/public_html/new/includes/modules/payment/paypaldp.php:1218]
#5  paypaldp->install() called at [/home/xxx/public_html/new/xxx/modules.php:109]
#6  require(/home/xxx/public_html/new/xxx/modules.php) called at [/home/xxx/public_html/new/xxx/index.php:11]
--> PHP Fatal error: 1062:Duplicate entry 'MODULE_PAYMENT_PAYPALDP_MERCHANT_COUNTRY' for key 'unq_config_key_zen' :: INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Merchant Country', 'MODULE_PAYMENT_PAYPALDP_MERCHANT_COUNTRY', 'USA', 'Which country is your PayPal Account registered to? <br /><u>Choices:</u><br /><font color=green>You will need to supply <strong>API Settings</strong> in the Express Checkout module.</font><br /><strong>USA and Canada merchants</strong> need PayPal API credentials and a PayPal Payments Pro account.<br /><strong>UK merchants</strong> need to supply <strong>PAYFLOW settings</strong> (and have a Payflow account)<br><strong>Australia merchants</strong> choose Canada<br><em>(This setting is really about the internal PayPal API specification, and not so much about country: US=1.5, UK=2.0, Canada/Australia=3.0)</em>', '6', '25',  'zen_cfg_select_option(array(\'USA\', \'UK\', \'Canada\'), ', now()) ==> (as called by) /home/home4newxxx/public_html/new/includes/modules/payment/paypaldp.php on line 1218 <== in /home/xxx/public_html/new/includes/classes/db/mysql/query_factory.php on line 667.
20 Jan 2023, 1:05 PM
#2567
swguy avatar

swguy

Administrator

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

Re: One-Page Checkout [Support Thread]

PayPal error 10002 means your API credentials are wrong.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

20 Jan 2023, 1:07 PM
#2568
swguy avatar

swguy

Administrator

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

Re: One-Page Checkout [Support Thread]

btw you should probably bump up to PHP 7.4. 7.3 support was only intended to allow people to do the upgrade; IIRC there are things in 1.5.8 storefront that don't work well with less than 7.4.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

16 Feb 2023, 11:16 AM
#2569
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

ZC 1.5.8
PHP 8.0.17
Template: Modified Stirling Grand (no resemblance)
CSS/JS Loader
CEON URI Mapping
OPC v2.4.5
DPU
Colorbox
Structured Data
IH5

Local dev site. Checking out as a guest, paying by money order and subsequently signing up for an account - Zen Cart does not generate the Welcome Email. No error logs. All emails for other orders/accounts are generated correctly. I enabled full OPC logs and two have been generated:

one_page_checkout-51-2023-02-16.log 180KB
one_page_checkout-na-2023-02-16.log 11KB

I have checked with the live site (ZC 1.5.7d / PHP 7.4 / OPC 2.4.3 / paying by Square) and the same occurs - must have missed that in my checks:(

Any suggestions?

Simon

16 Feb 2023, 12:38 PM
#2570
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

simon1066:

ZC 1.5.8
PHP 8.0.17
Template: Modified Stirling Grand (no resemblance)
CSS/JS Loader
CEON URI Mapping
OPC v2.4.5
DPU
Colorbox
Structured Data
IH5

Local dev site. Checking out as a guest, paying by money order and subsequently signing up for an account - Zen Cart does not generate the Welcome Email. No error logs. All emails for other orders/accounts are generated correctly. I enabled full OPC logs and two have been generated:

one_page_checkout-51-2023-02-16.log 180KB
one_page_checkout-na-2023-02-16.log 11KB

I have checked with the live site (ZC 1.5.7d / PHP 7.4 / OPC 2.4.3 / paying by Square) and the same occurs - must have missed that in my checks:(

Any suggestions?
My suggestion is that I (and others) have missed the fact that the welcome email isn't sent out for the past 5 years!

GitHub tracking issue: https://github.com/lat9/one_page_checkout/issues/373

21 Feb 2023, 6:03 AM
#2571
balaji avatar

balaji

New Zenner

Join Date:
Nov 2009
Location:
Chennai, India
Posts:
50
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Hi
I am trying to implement opc with edify theme. I have updated the ottotal with respective css selector.
But the order is not getting completed.
I have tried using responsive classic it is working fine.
I believe there is conflicting jquery/jscripts.
Is there any way I can add noconflict to checkout jquery.
Pls advise
Thanks

Balaji R

21 Feb 2023, 11:31 AM
#2572
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

Balaji:

Hi
I am trying to implement opc with edify theme. I have updated the ottotal with respective css selector.
But the order is not getting completed.
I have tried using responsive classic it is working fine.
I believe there is conflicting jquery/jscripts.
Is there any way I can add noconflict to checkout jquery.
Pls advise
Thanks
Where did the *edify *theme come from? What version of jQuery doe it load on default?

21 Feb 2023, 9:12 PM
#2573
balaji avatar

balaji

New Zenner

Join Date:
Nov 2009
Location:
Chennai, India
Posts:
50
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

the edify theme was last updated 2014 and the jquery it is using is 1.11

Balaji R

21 Feb 2023, 9:26 PM
#2574
balaji avatar

balaji

New Zenner

Join Date:
Nov 2009
Location:
Chennai, India
Posts:
50
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I have replaced jquery. But when doing so, I get another issue unexpected_token:identifier.

continuing with it I get check_form not defined(when submitting) the order.
attached the snapshot for reference.

https://prnt.sc/00i-4zrnS8J3

Balaji R

1 Mar 2023, 8:27 PM
#2575
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
732
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Cindy - Can you tell me how to fix this specific behavior?

I have a custom payment option called (Pay Later). It's basically the check/money order module, just renamed to say "PAY LATER".

After the checkout page loads, if I just select the PAY LATER option (and nothing else, leaving everything else default), then when I hit the Submit Order button, the page refreshes and keeps me on the checkout page with an error: "Your order's details have changed. Please review the current values and re-submit."

If I immediately hit the Submit Order button again, it submits and works just fine.

How can I configure the module so that the order submits on the first time? Do I need to have the page refresh after the Pay Later option is selected, much like it refreshes when the shipping options change?

EDIT:

I am using OPC version 2.4.5, and my store is running 1.5.7

  • Jeff
1 Mar 2023, 10:21 PM
#2576
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
732
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

By the way, I have the debug log from the attempt. I just didn't know if you wanted me to post it here (it's rather long).

  • Jeff
2 Mar 2023, 11:37 AM
#2577
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

Jeff_Mash:

Cindy - Can you tell me how to fix this specific behavior?

I have a custom payment option called (Pay Later). It's basically the check/money order module, just renamed to say "PAY LATER".

After the checkout page loads, if I just select the PAY LATER option (and nothing else, leaving everything else default), then when I hit the Submit Order button, the page refreshes and keeps me on the checkout page with an error: "Your order's details have changed. Please review the current values and re-submit."

If I immediately hit the Submit Order button again, it submits and works just fine.

How can I configure the module so that the order submits on the first time? Do I need to have the page refresh after the Pay Later option is selected, much like it refreshes when the shipping options change?

EDIT:

I am using OPC version 2.4.5, and my store is running 1.5.7
Since the 'moneyorder' payment method doesn't display the behavior you describe, I'll suggest that you review the changes you've made to your pay-later method. I'll PM you with my direct email address for that log.

2 Mar 2023, 1:03 PM
#2578
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,305
Plugin Contributions:
39

Re: One-Page Checkout [Support Thread]

lat9:

Since the 'moneyorder' payment method doesn't display the behavior you describe, I'll suggest that you review the changes you've made to your pay-later method. I'll PM you with my direct email address for that log.

I have this exact same issue with a money order clone using bootstrap 3.5.0, Zen 1.5.8, PHP 7.3 & OPC 2.45. I am also using Square Web 1.04 so I have set no-update, but it doesn't matter the issue persists on refresh & update as well.

Thanks for your hard work =)

~Melanie

2 Mar 2023, 3:21 PM
#2579
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

mprough:

I have this exact same issue with a money order clone using bootstrap 3.5.0, Zen 1.5.8, PHP 7.3 & OPC 2.45. I am also using Square Web 1.04 so I have set no-update, but it doesn't matter the issue persists on refresh & update as well.

Thanks for your hard work =)

~Melanie
If you enable the OPC debug output and send me (via direct email) the resultant file, I'll give it a look.

2 Mar 2023, 5:35 PM
#2580
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
732
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

lat9:

Since the 'moneyorder' payment method doesn't display the behavior you describe, I'll suggest that you review the changes you've made to your pay-later method. I'll PM you with my direct email address for that log.

Thanks! I just sent you an email with the log file. :)

  • Jeff