#ginjaninja_api

1 messages ยท Page 1 of 1 (latest)

cedar thunderBOT
remote roverBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

cedar thunderBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1224616375168012319

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

remote roverBOT
upper otter
barren spire
#

thanks

upper otter
#

No problem! Happy to help ๐Ÿ˜„

barren spire
#

i also need to collect name on card and post code, i dont seem to find it in docs

#
        <div id="cardExpiry"></div>
        <div id="cardCvc"></div>```
#
            card.mount('#cardNumber');
            var card = elements.create('cardExpiry');
            card.mount('#cardExpiry');
            var card = elements.create('cardCvc');
            card.mount('#cardCvc');``` this is what i have so far
upper otter
barren spire
#

address does not seem to work

upper otter
#

What doesn't work? I don't see any implementation about address in your code

#

Split card payment doesn't support name and postal code collection

#

Cardholder name and postal code should be collected separately

barren spire
#

oh i see, so stripe does not need to collect card holder name?

upper otter
#

Cardholder name and postal code is supported in Payment Element, but not on split card element - the one you're using now

barren spire
#

one more question how can i change the postal code to UK that looks like a zipcode

#

the place holder i mean

upper otter
#

sorry, my bad! i didn't read your code properly

#

I see that you're using Address Element in your integration

barren spire
#

yh

#

i think i am using Elements

#

i think these are my options

#

this is the design im trying to copy

upper otter
#

You're using Split Card Element with Address Element. In your address element, you didn't specify the options

barren spire
#

ohhh i see

#

tanks

#

thanks

#

much better can i strip things out?

upper otter
#

Can you share what is your expected behaviour?

barren spire
#

the placeholder in postalCode is 90210 thats american. in the uk postal code would be somthing like rh43 2he

#
                style: {
                    base: {
                        // Add your styling here
                    }
                },
                placeholder: 'Postal code',
            };
            var address = elements.create('postalCode', addressOptions);
            address.mount('#postalCode');``` dont worry fixed it
#

thanks all is good now, thanks again for your help

remote roverBOT
random python
#

๐Ÿ‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!