joncon62
Forum Replies Created
-
Forum: Plugins
In reply to: [Instant Bank Payments via GoCardless for WooCommerce] Testing on localhost?Thanks for asking, I still can’t get it to work on my localhost. I thought it may be due to not having an ssl certificate so I created one but that didn’t fix the problem. Did you have to do anything ‘custom’ to get it working? I am using MAMP (6.8) on macbook pro, all latest updates. I am using php 7.4.33 so not the latest as my site doesn’t work with 8+
Forum: Plugins
In reply to: [WooCommerce PayPal Payments] Multiple PayPal accountsHi @bg000331,
I’m sorry but I didn’t get it working in the end so I gave up. I’m currently using paypal standard with mutilple accounts which does work. You can find the code for that here: https://www.businessbloomer.com/woocommerce-multiple-paypal-accounts/
Best wishes
JonAh thank you for considering this. I need to filter the keys that are needed to determine the GC account being used. So I need to filter live_access_token (and sandbox_access_token for testing). I’m not sure at what point these are sent to GC, if the order has already been created then the $order object would be useful, but if the order hasn’t yet been created then the $cart would be good.
If it helps, this is how it works for PayPal: https://www.businessbloomer.com/woocommerce-multiple-paypal-accounts/
I only ever allow products from a single vendor in the cart so all the products will be linked to the same GC account.
Thank you so much for this!
Forum: Plugins
In reply to: [WPC Fly Cart for WooCommerce] How to downgradeHappens to me too, but you can fix it by putting this into the Custom Menu box in settings (near the bottom)
.woofc-menu-item
If you want to rollback, install and use the WP Rollback plugin.
Forum: Plugins
In reply to: [Instant Bank Payments via GoCardless for WooCommerce] Testing on localhost?Thanks for your reply. I’m not familiar with diagnosing network problems. I can confirm I am in test mode and when I look at the Network tab I see 3 admin-ajax.php requests. The middle one has a red checkmark for https://localhost/snappytickets/wp-admin/admin-ajax.php, status (canceled) after 4s.
The response headers, protocol, remote address, connection ID fields are all blank for this request.
Does this mean anything to you?
I did try another plugin and that could contact GoCardless on my localhost but I would rather use yours.
Thanks. You may be interested in seeing how I fixed it in my installation. I used this simple bit of jQuery.
// Clear all ticket counts on page load // Add Add areYouSure() setTimeout(function(){ $('input.etp').val('0'); }, 0); $('form').areYouSure();
The areYouSure() plugin monitors html forms and alerts users to unsaved changes if they attempt to close the browser or navigate away from the page. (Are you sure?).
I asked Litespeed how they determine if files need minifying and they confirmed it is by filename, so minified files should have .min in the filename. Here is their full answer.
yes, by default it takes all , except that has?
.min.
?in name , and certain attribute like?data-no-optimize
?or?data-cfasync
?will also bypassI’m sure other optimising plugins do similar so renaming the minified files (js and css) would be good for compatibility.
Ah good call, I’m using litespeed cache with js minification enabled. It looks like it was minifying your already minified assets in the dist folder. If I exclude RNMain from minification the errors go away.
Isn’t the convention to name minified assets with .min in their filenames? I’m wondering if litespeed uses this to determine whether to minify the file. Your minified assets don’t include .min
- This reply was modified 1 year, 2 months ago by joncon62.
Forum: Plugins
In reply to: [WooCommerce PayPal Payments] Multiple PayPal accountsI’ve got this working now, including refunds being made correctly. It seems I only need to change the merchant_id (and maybe merchant_email) for the money to hit to correct vendor account, I don’t need to modify the client_id or client_secret from the admin settings, does that make any sense to you?
I get this randomly too, I would like to know what you find out about this. For me it happens with both PayPal and Stripe payments. When it is free there is no record of a payment gateway transaction. Impossible to reproduce but happens very intermittently.
Amazing ??
OK, hope that’s not a long list! Thanks for your help.
Wow, quick response! I tried linking an email field but it only allows a single email in the field. If I enter more than one email it gives a validation error. I’m wondering if the ‘Send email to’ needs some kind of array rather than simple text.
Edit: I just inspected it and it’s a Select field!
- This reply was modified 1 year, 4 months ago by joncon62.
That works if I hard code the email addresses in the ‘Send email to’ box of the form settings, but I want to dynamically change the email addresses on the frontend. I have linked a text field of the form to the ‘Send email to’ box, but it doesn’t work. Anything more than one email address defaults to the admin email address. Any ideas?