#curtis_58573

1 messages · Page 1 of 1 (latest)

analog pikeBOT
sinful magnet
#
// Set up Stripe.js and Elements to use in checkout form
var style = {
  base: {
    color: "#32325d",
  }
};

var card = elements.create("card", { style: style });
card.mount("#card-element");

Can you try this

#

It's just example code, sorry you need to change the div name and cardNumber

static tree
#

working on it now ...

#

yes, that works

#

any idea why it doesn't work on the other elements?

sinful magnet
#

doesn't work on which element?

#

I think the differences here is setting style on create, not on mount like you were doing

static tree
#

OMG! I am a moron. I totally didn't see that. Been staring at my computer much too long today

#

thank you for your help!