#manuocchia-fpx
1 messages · Page 1 of 1 (latest)
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
bank_element = stripe_elements.create('p24Bank', stripe_element_bank_style());
bank_element.mount('#bank_element_form')
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"
ah
let me change the account holder to see
nah I have individual too
Do you have a URL I can load to check?
No sorry I'm locally
All good
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
are you using a test API key?
yes
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?
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
It's OK, I'm in no hurry. let me know if you find the reason.
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
going to archive, but thanks a lot for flagging this bug, really glad you noticed!