zackdn
Forum Replies Created
-
That’s actually my attempt at trying to bypass the gateway for credit card users, but I’m still working on it.
Leave that field unselected and try to checkout with Stripe and you’ll get the error.
Our accounting software generates invoices on all of my orders unless they have a payment method id of “ppec_paypal”. We’re trying to move away from PayPal to Stripe, though. I could have the software changed to instead look for the id “stripe”, but the developer wants $1,200 and a signed contract, which would take months for me to get approved.
If I could change the id in woocommerce, I’d save a ton of time/money. I’m just not sure if it’s possible…
Having the same issue, too. Can you post any updates here?
If they’re able to help you with this, can you post their answer here? I’d be interested to know how they approach it.
Forum: Plugins
In reply to: [WooCommerce Geolocation Based Products] Regions not workingOk, I figured this all out now and have changed my files. I’ve added two pull requests to your GIT to help explain my workaround and how hooks could be introduced to allow me to do this in a update-proof way.
If you need to see my files I need a secure way to show them to you. I’m not comfortable showing them here.
Forum: Plugins
In reply to: [WooCommerce Geolocation Based Products] Regions not workingGotcha. Paying for it includes a lot more IPs and guarantee a 99% accuracy rate, but it is still updated weekly.
The filters would be awesome, thank you.
As I understand it, the db is a single file downloaded to the “Uploads” directory, correct?
There’s a way to automatically download the commercial db to my server via a program MaxMind provides (GeoIP Update), but my host provider doesn’t support it. I’m going to have to manually download the file or see if there’s some other program that I can use to automate logging in and downloading the file every week. I’m just trying to make sure I understand how your plugin works.
Thanks for all of your help, btw. I’ve never seen such a clean support forum for a wp plugin! ??
Forum: Plugins
In reply to: [WooCommerce Geolocation Based Products] Regions not workingThat worked – thanks!
I pay for access to the GeoIP2 City database, so I’m wondering if I might be able to extend the WC_Geolocation class and change the lines below to reference my paid database location.
/** URL to the geolocation database we're using */ const GEOLITE_DB = 'https://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz'; const GEOLITE_IPV6_DB = 'https://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz';
But I see that you’ve created your own similar class WC_Geolocation_Based_Products_Geolocate. I’m assuming I would also need to change this? Specifically this line:
const GEOLITE2_CITY_DB = 'https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz';
Lastly, why do you update the database weekly if WooCommerce already does that?
I have all the same issues and concerns here. I had it set in the previous (paid) version of this plugin that these orders were placed on-hold until I hit “Capture Funds” at which point it would switch to “Complete” and the customer would be sent a final invoice with the updated totals.
Is this going to be addressed?
Forum: Plugins
In reply to: [WooCommerce Geolocation Based Products] Regions not workingAnother update: The issue I found was that her IP was not in the GeoLite2 database. So that seems to be the issue with that.
However, it doesn’t seem like the “Test” button is working for hiding/showing product categories (as outlined above).
Can you think offhand of an easy, update-proof way of downloading a PAID database into WordPress in order to pull form that more comprehensive list instead of the GeoLite2 one?
Forum: Plugins
In reply to: [WooCommerce Geolocation Based Products] Regions not workingUpdate: I changed some of your code to output the city, state, and country at the top of the page. On my machine and on a coworker’s iphone it shows “*My City* (obscured for security), FL, US”. Perfect.
My counterpart in North Carolina only shows “US” ??
Forum: Plugins
In reply to: [WooCommerce Geolocation Based Products] Regions not workingOk, when I use these settings I see this (which is correct).
But, when I use these settings (please notice the “Test” box that is checked) I see this (NOT correct).
->Btw, I’ve even tried turning off the “Test” checkbox and having someone in NC test this and they see the same thing.
->Also, removing the two bottom lines of this configuration does not change anything for me or the people in NC.Forum: Plugins
In reply to: [Gravity Forms + Custom Post Types] Custom Post Type not saving taxonomiesI’m having the same issue. @mattkiosk, can you share a .zip of v3.1? I’m having a hrd time finding this to fall back on…
Forum: Plugins
In reply to: [wpMandrill] Mandrill Refuses to Send -> wpMandrill::wp_mail_nativeI resolved the issue. The problem is that Mandrill doesn’t support an empty “TO” field. I fixed this by hooking into the Mandrill Payload filter.
Please note, I use a template for my emails, so I’m just including that because it was already there previously.
Please also note, the email address you put in the “TO” field will receive EVERY SINGLE email that goes out for this plugin. I put the admin email I use for the site and put a filter on my email to archive these as soon as they come in.
Copy and past the following into your custom plugin or theme’s functions.php file.
function wd_mandrill_woo_order( $message ) { if ( in_array( 'wp_CMA_Email::send', $message['tags']['automatic'] ) ) { $message['to'] = array( array( 'email' => '[email protected]', 'type' => 'to' ) ); } else { $message['html'] = $message['html']; } // Create the template parameter $message['template'] = array(); // Set a template $message['template']['name'] = 'Your_Template_Name'; // Fill in the main region with the normal content $message['template']['content'][] = array( 'name' => 'main', 'content' => $message['html'], 'inline_css' => 'true' ); return $message; } add_filter( 'mandrill_payload', 'wd_mandrill_woo_order' );
Forum: Plugins
In reply to: [PayPal for WooCommerce] Capture from Edit Order PageThanks, Andrew. I do and I just sent it in.
Forum: Plugins
In reply to: [PayPal for WooCommerce] Capture from Edit Order PageJust tried to capture my first order and got the following error. Any ideas?
PayPal DoCapture API call failed. ( Detailed Error Message: You do not have permissions to make this API call, Short Error Message: Authentication/Authorization Failed ) Error Code: 10002 ) Error Severity Code: Error )