Title: snarkypuppet's Replies | WordPress.org

---

# snarkypuppet

  [  ](https://wordpress.org/support/users/snarkypuppet/)

 *   [Profile](https://wordpress.org/support/users/snarkypuppet/)
 *   [Topics Started](https://wordpress.org/support/users/snarkypuppet/topics/)
 *   [Replies Created](https://wordpress.org/support/users/snarkypuppet/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/snarkypuppet/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/snarkypuppet/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/snarkypuppet/engagements/)
 *   [Favorites](https://wordpress.org/support/users/snarkypuppet/favorites/)

 Search replies:

## Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Amazon Payment Gateway for WooCommerce] Billing Fields Not Registering](https://wordpress.org/support/topic/billing-fields-not-registering/)
 *  Thread Starter [snarkypuppet](https://wordpress.org/support/users/snarkypuppet/)
 * (@snarkypuppet)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/billing-fields-not-registering/#post-9493984)
 * Does 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Amazon Payment Gateway for WooCommerce] Billing Fields Not Registering](https://wordpress.org/support/topic/billing-fields-not-registering/)
 *  Thread Starter [snarkypuppet](https://wordpress.org/support/users/snarkypuppet/)
 * (@snarkypuppet)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/billing-fields-not-registering/#post-9490564)
 * Hey! 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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Braintree for WooCommerce Payment Gateway] Credit card fields working intermittently](https://wordpress.org/support/topic/credit-card-fields-working-intermittently/)
 *  [snarkypuppet](https://wordpress.org/support/users/snarkypuppet/)
 * (@snarkypuppet)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/credit-card-fields-working-intermittently/#post-7416897)
 * From [this thread on the same issue](https://wordpress.org/support/topic/cc-not-showing-fields-sometimes?replies=12#post-8384728):
 * >  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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Braintree for WooCommerce Payment Gateway] cc not showing fields sometimes](https://wordpress.org/support/topic/cc-not-showing-fields-sometimes/)
 *  [snarkypuppet](https://wordpress.org/support/users/snarkypuppet/)
 * (@snarkypuppet)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/cc-not-showing-fields-sometimes/#post-7255626)
 * Thanks 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](https://wordpress.org/support/topic/credit-card-fields-working-intermittently?replies=14).
 *     ```
       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' ) );
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Braintree for WooCommerce Payment Gateway] Credit card fields working intermittently](https://wordpress.org/support/topic/credit-card-fields-working-intermittently/)
 *  [snarkypuppet](https://wordpress.org/support/users/snarkypuppet/)
 * (@snarkypuppet)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/credit-card-fields-working-intermittently/#post-7416896)
 * 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 empty
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Unable To Get Local File Attachment Uploads To Work](https://wordpress.org/support/topic/unable-to-get-local-file-attachment-uploads-to-work/)
 *  Thread Starter [snarkypuppet](https://wordpress.org/support/users/snarkypuppet/)
 * (@snarkypuppet)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/unable-to-get-local-file-attachment-uploads-to-work/#post-7162927)
 * Hello?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Unable To Get Local File Attachment Uploads To Work](https://wordpress.org/support/topic/unable-to-get-local-file-attachment-uploads-to-work/)
 *  Thread Starter [snarkypuppet](https://wordpress.org/support/users/snarkypuppet/)
 * (@snarkypuppet)
 * [10 years ago](https://wordpress.org/support/topic/unable-to-get-local-file-attachment-uploads-to-work/#post-7162841)
 * There’s no secure way to do it?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Unable To Get Local File Attachment Uploads To Work](https://wordpress.org/support/topic/unable-to-get-local-file-attachment-uploads-to-work/)
 *  Thread Starter [snarkypuppet](https://wordpress.org/support/users/snarkypuppet/)
 * (@snarkypuppet)
 * [10 years ago](https://wordpress.org/support/topic/unable-to-get-local-file-attachment-uploads-to-work/#post-7162834)
 * How can I get the file saved on the server?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Unable To Get Local File Attachment Uploads To Work](https://wordpress.org/support/topic/unable-to-get-local-file-attachment-uploads-to-work/)
 *  Thread Starter [snarkypuppet](https://wordpress.org/support/users/snarkypuppet/)
 * (@snarkypuppet)
 * [10 years ago](https://wordpress.org/support/topic/unable-to-get-local-file-attachment-uploads-to-work/#post-7162826)
 * Actually 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Unable To Get Local File Attachment Uploads To Work](https://wordpress.org/support/topic/unable-to-get-local-file-attachment-uploads-to-work/)
 *  Thread Starter [snarkypuppet](https://wordpress.org/support/users/snarkypuppet/)
 * (@snarkypuppet)
 * [10 years ago](https://wordpress.org/support/topic/unable-to-get-local-file-attachment-uploads-to-work/#post-7162823)
 * Hey there – any update on this?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Unable To Get Local File Attachment Uploads To Work](https://wordpress.org/support/topic/unable-to-get-local-file-attachment-uploads-to-work/)
 *  Thread Starter [snarkypuppet](https://wordpress.org/support/users/snarkypuppet/)
 * (@snarkypuppet)
 * [10 years ago](https://wordpress.org/support/topic/unable-to-get-local-file-attachment-uploads-to-work/#post-7162790)
 * Ok 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Unable To Get Local File Attachment Uploads To Work](https://wordpress.org/support/topic/unable-to-get-local-file-attachment-uploads-to-work/)
 *  Thread Starter [snarkypuppet](https://wordpress.org/support/users/snarkypuppet/)
 * (@snarkypuppet)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/unable-to-get-local-file-attachment-uploads-to-work/#post-7162729)
 * Oh, 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Unable To Get Local File Attachment Uploads To Work](https://wordpress.org/support/topic/unable-to-get-local-file-attachment-uploads-to-work/)
 *  Thread Starter [snarkypuppet](https://wordpress.org/support/users/snarkypuppet/)
 * (@snarkypuppet)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/unable-to-get-local-file-attachment-uploads-to-work/#post-7162724)
 * Sure – 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](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Themia Lite] Syntax error after updating latest version](https://wordpress.org/support/topic/syntax-error-after-updating-latest-version/)
 *  [snarkypuppet](https://wordpress.org/support/users/snarkypuppet/)
 * (@snarkypuppet)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-after-updating-latest-version/#post-6800418)
 * Hey 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!

Viewing 14 replies - 1 through 14 (of 14 total)