snarkypuppet
Forum Replies Created
-
Forum: Plugins
In reply to: [Amazon Payment Gateway for WooCommerce] Billing Fields Not RegisteringDoes the paid version support this feature?
I also get the error when I’m logged in as well (does WooCommerce have a setting to force guest checkout?). Could the error be coming from anywhere else?
Forum: Plugins
In reply to: [Amazon Payment Gateway for WooCommerce] Billing Fields Not RegisteringHey! Thanks for responding. I’ve tried both logged in and logged out, and am currently trying as a guest user.
The error I get is this from WooCommerce:
Error: Billing Country is a required field.
Billing Street address is a required field.
Billing Town / City is a required field.
Billing State is a required field.
Billing ZIP is a required field.From this thread on the same issue:
Incase anyone is interested, a temporary fix I have found is to change this line:
setInterval( checkSetup, 250 );
to
setInterval( checkSetup, 2000 );
Within “wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/assets/js/checkout.js”
Forum: Plugins
In reply to: [Braintree for WooCommerce Payment Gateway] cc not showing fields sometimesThanks for the setinterval bandaid! That works beautifully.
It looks like the checkout.js script has an external dependency. I would guess at least part of the issue is that checkout.js times out before the external script loads, or the external request takes longer than the internal request and causes timing issues. This also correlates to the users who are seeing load issues on mobile browsers or slow connections.
wp_register_script( 'paypal_braintree', 'https://js.braintreegateway.com/js/braintree-2.24.1.min.js', array( 'jquery' ) ); if ( $should_enqueue_checkout_script ) { wp_register_script( 'gateway_paypal_braintree', plugins_url( 'assets/js/checkout.js', __FILE__ ), array( 'jquery', 'paypal_braintree' ) ); } else if ( $should_enqueue_cart_script ) { wp_register_script( 'gateway_paypal_braintree', plugins_url( 'assets/js/cart.js', __FILE__ ), array( 'jquery', 'paypal_braintree', 'jquery-blockui' ) ); }
Same issue here. The fields come up when first loading the page. When I reload the page, the fields don’t show up. Reloaded 30 times, no fields. This only happens if I refresh the page after a few seconds. If I wait a minute and then reload the page, the CC fields come back up consistently. I’m also seeing a lot of paypal nonce errors in the Braintree logs:
07-08-2016 @ 21:56:12 – process_payment – Info: Beginning processing payment for order 118 for the amount of 363.98
07-08-2016 @ 21:56:12 – process_payment – Info: Merchant ID = y3x8tv4wjdt7tz5k
07-08-2016 @ 21:56:12 – process_payment – Error: The paypal_braintree_nonce was unexpectedly emptyForum: Plugins
In reply to: [Contact Form 7] Unable To Get Local File Attachment Uploads To WorkHello?
Forum: Plugins
In reply to: [Contact Form 7] Unable To Get Local File Attachment Uploads To WorkThere’s no secure way to do it?
Forum: Plugins
In reply to: [Contact Form 7] Unable To Get Local File Attachment Uploads To WorkHow can I get the file saved on the server?
Forum: Plugins
In reply to: [Contact Form 7] Unable To Get Local File Attachment Uploads To WorkActually I’m trying to get a file uploaded thru a contact form and then have it upload to my “wp-content/uploads/client” folder. Currently, the file gets uploaded and emailed to me, but the file doesn’t get saved on the server.
Forum: Plugins
In reply to: [Contact Form 7] Unable To Get Local File Attachment Uploads To WorkHey there – any update on this?
Forum: Plugins
In reply to: [Contact Form 7] Unable To Get Local File Attachment Uploads To WorkOk just tried what you suggested – I uploaded a file “upload.jpg” into uploads/client/ and I also added the specific filename in the filepath under the file attachments field. Still nothing, no errors in the error log. It looks like the only thing this did, is include both the uploaded file and the file I pointed to on the server in the email that was sent.
Forum: Plugins
In reply to: [Contact Form 7] Unable To Get Local File Attachment Uploads To WorkOh, the file needs to exist? That may be the issue, I have tried it with a filename, but I don’t think the file already existed on the server. I’ll give that a shot.
Will the filenames be dynamically generated when setting a specific file like this?
Forum: Plugins
In reply to: [Contact Form 7] Unable To Get Local File Attachment Uploads To WorkSure – under the form its:
[file* file-555 filetypes:zip|jpeg|jpg|png|pdf|docx|doc limit:10mb]
And under file attachments it is:
[file-555]
uploads/client/Forum: Themes and Templates
In reply to: [Themia Lite] Syntax error after updating latest versionHey there – I just had to fix this on my site and it was a pain in the butt to figure out.
Re-saving the functions/inkthemes-functions.php file with “Unix(LF)” line breaks instead of “Classic Mac(CR)” which it was set to by default, seems to fix the issue. I used textwrangler to make this change, which is a free code editor app. Obviously this is an encoding issue – could be that some servers are more sensitive than others.
Hope that helps!