I've just had another one this evening. I'll PM for your e-mail address in case I got it wrong last time.
Type: Posts; User: BillJ
I've just had another one this evening. I'll PM for your e-mail address in case I got it wrong last time.
Thank you. Log on its way.
I can see from the log that the card failed the CVV check. The customer probably mis-typed it. Despite having an account, they had checked out as a guest using OPC.
Thank you.
I have Payment Action set to "Final Sale" in the paypalr configuration, if that's the setting you mean.
I don't know, sorry. Would it be logged somewhere by paypalr? I have...
I forgot to say I'm using ZC 1.58a, OPC 2.4.6 and PP Restful 1.0.1
I noticed some behaviour yesterday that I didn't expect (and some that I did, for contrast).
Firstly, what I *did* expect:
A customer tried to place an order and Paypal didn't trust the card. I...
A better approach would be to create an observer to catch the NOTIFY_LOGIN_SUCCESS_VIA_CREATE_ACCOUNT notification sent by modules/create_account.php
That way you avoid editing core files so your...
That's a fair trade. I always thought the Express Checkout button added a lot of complexity to the checkout code.
Thanks. Other than that it looks great and I'm going to install it on our production server. Since it replaces Paypal Express, are there any plans to implement the Paypal Express Checkout button?
I couldn't find anything in the Paypal API docs that specifies the format of the ships_from_postal_code field. Only that it shoudl be 1-60 characters long.
I just installed Paypal Restful 1.01 on our test server and came up against an issue with card processing.
2024-03-09 14:04:23: (checkout_process) ==> Start createOrder
TokenCache::get, using...
OPC catches the NOTIFY_HEADER_START_CHECKOUT_PAYMENT notification from FILENAME_CHECKOUT_PAYMENT ('checkout_payment') and redirects to FILENAME_CHECKOUT_ONE ('checkout_one').
Using Zen Cart 1.58a and PHP 8.1 I have occasionally seen huge numbers of the following error logged, usually within the space of 1 or 2 seconds:
PHP Warning: mysqli_connect(): (42000/1203):...
The SQL statements are in:
zc_plugins/InstantSearch/v4.0.2/classes/SearchEngineProviders/MysqlSearchEngineProvider.php
Assuming you have not installed the Typesense plug-in.
Perhaps when OPC becomes part of the Zen Cart core then their hand will be forced since if it is incompatible with OPC then it is incompatible with Zen Cart. Until then we have two third-party...
Despite (mistakenly) saying otherwise earlier, I'm using Braintree Payments 2.2.7 downloaded from the Numinix web-site, released September 2023 and usind SDK 6.9.1. A lot of the Braintree API...
Thanks very much to lat9 for her highly-responsive support over this. I'd never have figured it out myself. It seems that OPC is not currently compatible with Braintree and other Javascript-based...
Thanks, lat9.
And my apologies for the error but the Braintree module version I am using is actually 2.2.7, not 1.4.5 as I said earlier :blush:
Thanks. I just added it to the "Payment Modules requiring Confirmation" OPC setting but I see the same result. I think what I need to know is where I should look in the OPC debug file to figure out...
I'm testing the Braintree payment module in the sandbox and all works fine with OPC disabled. With OPC enabled and the same card details that work with it disabled, I click "Confirm Order" and OPC...
Thank you very much, brittainmark!
I've downloaded it now.
To drag up an earlier thread about adding SCA support,
I'd be very interested in looking over this solution as we are seeing increasing "requires verification" failures from Square as the number...
Thank you so much :)
Setting Order Total, jQuery Selector to #ottotal .totalBox has fixed the problem.
This is where #ottotal appears in the HTML source:
<div id="otshipping">
<div class="vatBox larger forward"></div>
<div class="totalBox larger forward">£4.92</div>
<div...
Thanks. The template is a clone of Responsive Classic with only stylesheet changes and necessary changes for various plug-ins.
The Order Total, jQuery Selector value is:
#ottotal > div:first-child
Sorry, after months of not having time to look into this, yet wishing I had OPC, I've finally got round to looking into it again.
This is Zen Cart 1.57c with OPC 2.3.9 and using the Responsive...
Thanks for your helpful comments carlwhat. That would certainly work well and would be easier if it was only to implement my plugin.
I had it in mind that if I created a PR to add the notifier to...
What I went with in the end, which seems least invasive and least "hacky", is to add a single line in the _doRefund() function in each of the payment modules I am using (PaypalDP and Square) which...
The plugin is an integration for an external tax-handling service. It calculates the VAT for EU destinations, pays that VAT and bills the seller's account.
When a refund is made to the customer, I...
I'm writing a plugin for 1.57c and among other things I need to observe the amount of a refund, preferably independently of the payment module performing the refund. I can see in admin/orders.php I...
As you say, though, perhaps the problem is caused by something else and the template shouldn't be included in a context that isn't truly global.
I do see what you're saying and I agree, to a point.
However, doesn't this mean that the function (or the page) including a template must predict all of the global variables a custom override might...
I just fixed this myself in 1.57c after seeing the rounding problem. The issue is that $currencies, which is a global, appears not to have been declared as global and therefore a local copy is used...
I just fixed this myself in 1.57c after seeing the rounding problem. The issue is that $currencies, which is a global, appears not to have been declared as global and therefore a local copy is used...
Thank you very much. It is OPC 2.3.8. I'll check out that tool this evening and hopefully get to the bottom of it.
I've come up against another issue with OPC. Whenever I try to confirm an order, I end up back on the checkout page with the message:
"Your order's details have changed. Please review the current...
Thank you! That has fixed it and everything appears to be working as expected. I appreciate the help.
Thanks - I've PM'd you the link since the supgraded site isn't live yet.
Thanks, Simon. It probably isn't connected with my issue, then. I don't mind it happening as it is very brief but I just wondered if it might be a clue.
One thing I have just noticed, on the checkout page there briefly appears a red box with the JS_ERROR_OPC_NOT_ENABLED message ("Our expedited checkout process is temporarily unavailable", etc.). It...
On the console I see:
setFormSubmitButton, payment-module: null jquery.checkout_one.min.js?1622987705:5
Showing "confirm" jquery.checkout_one.min.js?1622987705:5
Setting orderConfirmed (0),...
Thanks, Cindy. I've been using developer mode quite a bit and that's how I found the layer wasn't active on my site while it is on yours.
What in particular should I look for with jQuery? As far as...
I can see that the form elements are disabled by activating a layer over them. This is done on page load depending, ultimately, on the OnePageCheckout class attribute $billtoAddressChangeable....
I'm building a site (an upgrade for our current 1.5.5f one) using Zen Cart 1.5.7c and running on PHP 7.1.
The template is a simple clone of Responsive Classic with some stylesheet changes but no PHP...
Oops! :blush:
I meant: Then we would only charge VAT if ((zone requires it) and (order_value <= threshold) and (customer EORI *does not* exist))
Thanks, DrByte. I'm continually amazed at how flexible a system Zen Cart is. I had been chasing my tail trying to come up with a solution for this (or find a Zen Cart expert I could pay to do it) and...
Not yet. Dr. Byte's reply to my earlier post makes that clear, I would say.
However, as mentioned the deadline has been extended because so many organisations are still not ready. That doesn't mean...
I've had it too. See my post (8 posts above yours) after Square first announced the new API some weeks ago. It appears to have been announced some time ago, before I started using Square.
Anyway, it...
Thank you for this module, Dr. Byte. We've been using Paypal for card payments for years but some people seem to run a mile as soon as they see the Paypal brand. I set up a Square account a few days...
Thank you very much for that. I didn't think of that. Looking at the logs the problem is in includes/modules/<template>/category_row.php
Line 40 is throwing "Cannot use string offset as an array"...
Thank you, Design75. I have sent the link by PM so you can see what I mean.