CSS buttons display fine and do work, but only if you click in a certain area within that button - that area being the area that wouldve been occupied by the "pill" button that is the deafult display...
Type: Posts; User: Calljj
CSS buttons display fine and do work, but only if you click in a certain area within that button - that area being the area that wouldve been occupied by the "pill" button that is the deafult display...
Happy to report had this up and running really well for a month now on 2 different sites and both the applepay express checkout button (auto account creaction etc), and the PI form are working well....
ok, so digging into the intricacies of javascript forms.... found out that the onsubmit fires before the action, so the call was being made to goto next page and was loading before the post data had...
Thought i'd carry on down the line of a seperate form to get over the sagepay.js eventlistener submit.
Button click initiates the form, which gets the post info that i want back from opayo, and...
arghh, back to square one, as can't get info from one form across to another,.
2 days in clicking refresh and making changes.... think i've found a resolution.
The opayo pi drop in form allows for a seperate form to be specified in addidtion to the DIV to which its placed. the...
any idea how to overcome an event listner of submit in 3rd party code that attaches itself to the zen form?
I dont think i can removeeventlistener, at least had no luck in trying
also tried to...
gotta play it safe nowadays tho?
still appears can't be done using opayos checkoutform, but could be done with own form. With their form uses the
addEventListener("submit"
which i cannot find a way of workign around. With the...
digging into this a bit more, i'm seeing better what they have done by using a hidden button in the form, I'll see if i can manipulate it to my needs.
Thanks, yes, think they got around by using the radio buttons, of which i've already included along the lines of
$('form[name="checkout_payment"]').submit(function(e) {
...
Hi all,
wonder if some of the guru's might be able to shed some light.
currently writing an Opayo pi (with applepay express checkout) module for zen (will place in downloads for all once i've...
We've started noticing some strange cases after doing the 1.5.7 upgrade, this store now over 15 years of zencart use.
So, a customer creates an account in the same country as the store (UK)....
php 7.4
query from the tpl_specials sidebox
$random_specials_product->MoveNext();
--> PHP Warning: array_replace(): Expected parameter 2 to be an array, null given
Changing to the...
Hi, stumbled across this from a warning in the logs file, just seems the logic is incorrect as code will throw the warning before the if statement has acted?
Line 623 in...
Hi, thanks for response, we don't use hosting company, we have our own physical dedicated LAMP server in a datacentre.
However, issue happened on old server and new server (we've just moved...
Just a follow up, happened again a couple of days back, 6 seconds between the duplicates.
as before same transaction id and timing. same website, but hosted now on a fresh new dedicated server....
Thanks for response.
Customer says experience as expected.
Yes, 17 order confirmation emails were sent out with incremental order number. 17 seperate orders created on server.
Orders before and...
php 7.2
zen 1.5.6C
Been working fine, then got a couple of duplicates a few days back, then today a whole stack of duplicate orders (17 of them to be precise!)
All received around 2-5 secs after...
managed to get payments to work on chrome by changing the init_sessions.php file, as found seems to be a gap between php 5.6 ish to 7.3.
quick workaround for me was to change dr bytes file to :
...
so my issue is the same but different.
2 different sites on php7, version 1.5.6
2 different direct payment gateways used for card payments
if the 3d secure iframe pages are presented then after...
I've also just had to do the same on the /includes/modules/TEMPLATE_NAME/create_account.php
Copying the zco notifier line across from the 1.3 files into this file made it work for me, else you...
first reported last year.
https://www.zen-cart.com/showthread.php?201697-Paypal-Express-checkout-and-local-taxes&p=1363138#post1363138
If customer uses the EC button, it wasn't including the...
in the includes/modules/order_total/ot_coupon.php the tax amount of an excluded product is removed twice from the total price resulting in unexpected amount showing as part of the order total.
...
in the includes/functions_general.php
/**
* Alias to $db->prepareInput() for sanitizing db inserts
* @param string $string
* @return string
*/
function zen_db_input($string) {
Sorry to revive this zombie thread but it came up first in google...
So, just updated a store from 1.5.1 to 1.5.6
php 7.3
upgrade gone pretty smoothly thanks mostly to being strict not to edit...
Zombie thread revival!
But i had exactly the same issue, was looking at all other reasons for not getting forgotten password emails, and turned out to be this! Ran the tool, worked straight away.
...
just a little php7 issue:
PHP Warning: Use of undefined constant DPU_OUT_OF_STOCK_IMAGE - assumed 'DPU_OUT_OF_STOCK_IMAGE'
But.... is it possible to not show a zero price, or show an "out...
Im getting loads of warning popping up when viewing cart page from your modules, 1.5.6 and php 7, do i need to move the file locations of the english defines?
[19-Feb-2019 17:23:38 UTC] Request...
many thanks, the link provided the solution i needed
forgot to say, product price "zero", product priced by attributes.
OK, on to the next thing :D
sooo..... when a product is on sale, how do i get the "normalprice" to include the taxtation?
At the moment it gives:
Price: £649.17 £467.40
Save: 40% off
So problem finally solved!
I would never have even thought of looking at the encoding issues of a file, the first time i've come across such an issue!
Indeed, it was not a character that was the...
Changed code,no difference.
happening on all browsers.
so changing the line not made any difference, the error is thrown back as a result of the request, whereas that line is processing a successfull request?
jquery gives 3.2.1
thanks for continued...
outputs:
Array
(
[responseType] => success
[data] => Array
(
[priceTotal] => <font size="0.5" color="#636363">Price: </font>£909.00
...
nope, all latest, the json i presented was the request to the ajax, not the response, i presumed it was getting the hump with the request seeing as the result was an error.
i posted the response...
then showing the JSON gives:
...
Changing code to
.fail( function(jqXHR,textStatus,errorThrown) {
alert(errorThrown);
gives:
SyntaxError: JSON.parse: unexpected character at line 2 column 1 of the JSON data
ok, seems to fail within the jscript_dynamic_price_updater.php
when approx line 139, makes a call to
zcJS.ajax(option).done{
which my result goes to
.fail(...
So the response given in the console is changing every time i make a change in atttribute selection...
responseText: "\r\n\ufeff{\"responseType\":\"success\",\"data\":{\"priceTotal\":\"<font...
Aha! Well thought, yes the framwork file was missing from my older style template files, added this in and spinning wheel now gives a price.
But this price remains the same, no matter what...
trying to upgrade my site from 1.50 to 1.56a as the force of running php7 comes in. but what a nightmare!
Anyhow, almost there, but for DPU have the constantly spinning wheel and the console error...
get anywhere with this?
Did you manage to complete this module? Looking to change to stripe to offer Applepay to customers.. so interested in this.
So can you just confirm for me.
1) you set up a product with zero value priced only by attributes.
2) you set up 3 attributes, priced at 10, 20, 30 (without the 'plus' sign infront in attribute...
Thanks for looking.
moved the file across.
removed the comma from facebook pixel (although facebook was reading it fine through the Chrome Pixel addon checker thingy)
still no change.
just replaced all files from fresh donwload of 3.2
issue is exactly the same.
happy to pm url for you to see.
Indeed that’s how I thought it worked but it’s not.
I have 3 methods, two of them are fall over, have no specific products or categories set, shipping price based on weight and destination.
The...
Ok, apologies for all the responses, i'm kinda brainstorming aloud!
So it seems, that the comment out of the
pdpt = test[a];
Also has an effect on my other issue on the shopping cart page!...