Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #902947

    Jeremy P
    Participant

    Hi, I’m using WooCommerce with an addon, Stripe for WooCommerce, and getting this error. I get it with users logged in or not.

    “You have passed a blank string for ‘card’. You should remove the ‘card’ parameter from your request or supply a non-blank value.”

    This is a simple product. Another error a customer has received was just that her card was declined. Obviously I’m not 100% sure that’s the exact wording, maybe they really received the same message as I’m getting. They actually just updated me that they called their credit card to verify the charges, and then the credit card company let it through. So I’m not sure what that means.

    This error does not happen to me when 2014 theme is activated, which is why I’m asking X for help, although I also posted this to the plugin developer support.

    Here’s a sample of the details of the failed order in Stripe. Personal details replaced with *

    Parsed Request POST Body

    amount: “37500”
    currency: “CAD”
    card: “tok_184u8JJqbqBSUhb95u8Qwvx6”
    capture: “true”
    statement_descriptor: “Online Shopping”
    metadata:
    Order #: “6145”
    Total Tax: “0”
    Total Shipping: “0”
    Customer IP: *
    WP customer #: “”
    Billing Email: *
    receipt_email: *
    description: “Smart Nutrition Order #6145”
    shipping:
    address:
    line1: *
    line2: “”
    city: *
    state: *
    country: “CA”
    postal_code: *
    name: *
    phone: *
    Response body

    id: ch_184uN8JqbqBSUhb9s4ldzq8U
    object: “charge”
    amount: 37500
    amount_refunded: 0
    application_fee: null
    balance_transaction: “txn_184uN9JqbqBSUhb9kAuGucIl”
    captured: true
    created: 1461770078
    currency: “cad”
    customer: null
    description: “Smart Nutrition Order #6145”
    destination: null
    dispute: null
    failure_code: null
    failure_message: null
    fraud_details:
    invoice: null
    livemode: true
    metadata:
    Order #: “6145”
    Total Tax: “0”
    Total Shipping: “0”
    Customer IP: *
    Billing Email: *
    order: null
    paid: true
    receipt_email: *
    receipt_number: “1659-0537”
    refunded: false
    refunds:
    object: “list”
    data:
    has_more: false
    total_count: 0
    url: “/v1/charges/ch_184uN8JqbqBSUhb9s4ldzq8U/refunds”
    shipping:
    address:
    city: *
    country: *
    line1: *
    line2: “”
    postal_code: *
    state: *
    carrier: null
    name: *
    phone: *
    tracking_number: null
    source:
    id: card_184u8JJqbqBSUhb9SbwA2RGy
    object: “card”
    address_city: *
    address_country: *
    address_line1: *
    address_line1_check: “pass”
    address_line2: “”
    address_state: *
    address_zip: *
    address_zip_check: “pass”
    brand: “MasterCard”
    country: “CA”
    customer: null
    cvc_check: null
    dynamic_last4: null
    exp_month: 11
    exp_year: 2017
    fingerprint: “jSt02MCabNjOXPCS”
    funding: “credit”
    last4: *
    metadata:
    name: *
    tokenization_method: null
    source_transfer: null
    statement_descriptor: “Online Shopping”
    status: “succeeded”

    #903734

    Rad
    Moderator

    Hi there,

    The only integration that X theme for woocommerce is just a few template. Payment method and processing are solely done by woocommerce and should not be affected by the theme.

    According to the result that you posted, it succeeded.

    Is there a way you can provide a video recording of both process (with X theme and 2014 theme).

    Thanks!

    #906714

    Jeremy P
    Participant
    This reply has been marked as private.
    #907455

    Rad
    Moderator

    Hi there,

    Could it be that the card is actually declined?

    Your card was declined.

    X theme has no integration with payment methods, and I’m not sure how Stripe works. It would be okay to contact Stripe and a developer familiar with woocommerce payment system.

    Thanks for understanding.

    #908514

    Jeremy P
    Participant

    It could be with that log error that they had a problem with their card.

    But for me, with the error I’m getting, it works fine with a different theme. It’s definitely not my card.

    #908670

    Paul R
    Moderator

    Hi Jeremy,

    As stated above Payment method and processing are solely done by woocommerce and should not be affected by the theme.

    Please try to contact the plugin developer, there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.

    Thank you for your understanding.

    #989077

    Jeremy P
    Participant

    I have now switched to a different plugin, and I’m still getting an error that goes away when I switch themes. This new plugin is developed by woothemes, and they say this is a common issue they see with themes. https://support.woothemes.com/hc/en-us/articles/203104417-Stripe-Error-Please-make-sure-your-card-details-have-been-entered-correctly-and-that-your-browser-supports-JavaScript-

    Here’s the full error message I’m getting:

    “Please make sure your card details have been entered correctly and that your browser supports JavaScript. Developers: Please make sure that you are including jQuery and there are no JavaScript errors on the page.”

    Please note that I have already shown via video that this error goes away when I switch themes. It does it with two separate stripe plugins. Can I please get some help?

    #989174

    Rad
    Moderator
    This reply has been marked as private.
    #1002495

    Jeremy P
    Participant

    Tried that stuff but no it didn’t work.

    Finally got it figured out though. Rocket Loader.

    #1002574

    Prasant Rai
    Moderator

    Good to hear you figured it out! Let us know if you have any other questions. 🙂