#manuocchia-fpx

1 messages · Page 1 of 1 (latest)

woven lake
#

Can you show me a screenshot of wht you see?

loud fractal
woven lake
#

perfect thank you. Let me try to reproduce

#

@loud fractal which Element are you using exactly? Can you share the basic JS code where you mount/initialize the element?

#

I don't have the Deutsche bank one locally when I try

loud fractal
#

bank_element = stripe_elements.create('p24Bank', stripe_element_bank_style());
bank_element.mount('#bank_element_form')

woven lake
#

hmmm

#

what is p24bank?

loud fractal
#

sorry

#

var fpx_style = stripe_element_bank_style()
fpx_style['accountHolderType'] = stripe_seller_business_type
bank_element = stripe_elements.create('fpxBank', fpx_style);

#

where in this case accountHolderType is "individual"

woven lake
#

ah

#

let me change the account holder to see

#

nah I have individual too

#

Do you have a URL I can load to check?

loud fractal
#

No sorry I'm locally

woven lake
#

All good

loud fractal
#

I don't know why but I see Deutsche bank

woven lake
#

are you sure this is FPX? :p

#

hmmm I'm comint up empty

#

okay I see deustche_bank references in our code, trying to figure out what decides whether to show it

loud fractal
#

I check better if is really fpxBank element

#

Ok I'm pretty sure that is him

woven lake
#

are you using a test API key?

loud fractal
#

yes

woven lake
#

ah wait

#

I see it, with company

#
var fpxBankElement = elements.create(
  'fpxBank',
  {
    style: style,
    accountHolderType: 'company',
  }
);``` this shows that bank for me
#

are you sure your code setting individual is working?

loud fractal
#

I check it

#

ook

#

is company

#

but why stripe doesn't accept it?

#

the bank I mean

woven lake
#

yeah that part I am not sure yet and digging, but that's the diff between your code and mine

#

I'm not deeply familiar with FPX but digging into it

loud fractal
#

It's OK, I'm in no hurry. let me know if you find the reason.

woven lake
#

okay found it

#

it's a basic typo... deustche_bank instead of deutsche_bank sadly

#

I'll flag internally to get it fixed but will take some time

woven lake
#

going to archive, but thanks a lot for flagging this bug, really glad you noticed!