• Hi,
    I’m trying to configure a single page layout using stripe as payment method;
    unfortunately, input field for card details aren’t working,

    what happens:
    in the checkout page there is a fieldset (id=wc-stripe-cc-form) in which there are all the elements, including iframe, where card details can be entered
    in the shop page, where I wish there was the stripe checkout form, the code is the following

    <fieldset id="wc-stripe-cc-form" class="wc-credit-card-form wc-payment-form"> 
       <label for="card-element">
         Credit or debit card
       </label>
       <div id="stripe-card-element" class="wc-stripe-elements-field">
         <!-- a Stripe Element will be inserted here. -->
       </div>
       <!-- Used to display form errors -->
       <div class="stripe-source-errors" role="alert"></div>
       <br>
       <div class="clear"></div>
    </fieldset>

    any suggestions?

    Thanks in advance
    V

    The page I need help with: [log in to see the link]

  • The topic ‘Card input field’ is closed to new replies.