#nafid_api

1 messages · Page 1 of 1 (latest)

gaunt matrixBOT
#

👋 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/1224588910349389926

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

frigid joltBOT
mint rapids
#

Can you share which integration guide are you following for co-branded cards?

neon cedar
#

web elemnts

#

card elemnt

mint rapids
neon cedar
#

the id has nothing to do with this

#

iam a devloper

#

this is my site , you can test if the option to change the network is shown or not

mint rapids
#

How can I reach the checkout page with Card Element in your website? Can you share the steps?

neon cedar
#

go to shop

#

add somthing to cart and then chechkout

#

this is the code to render card elements,

createElements: function() {

        var elementStyles = eh_stripe_val.card_elements_style

        var elementClasses = {
            focus: 'focused',
            empty: 'empty',
            invalid: 'invalid',
        };
        $( document.body ).trigger( 'wt_stripe_inline_cart_customize', elementStyles );
        if ( 'yes' === eh_stripe_val.enabled_inline_form ) {
            stripe_card = elements.create( 'card', { style: elementStyles, hidePostalCode: (eh_stripe_val.inline_postalcode ? true : false) } );

            stripe_card.addEventListener( 'change', function( event ) {
                eh_stripe_form.onCCFormChange();

                if ( event.error ) {
                    $( document.body ).trigger( 'stripeError', event );
                }
            } );
        } else {

            stripe_card = elements.create( 'cardNumber', { placeholder: eh_stripe_val.card_elements_options.card_number_placeholder,style: elementStyles, classes: elementClasses, showIcon: true, } );
            stripe_exp  = elements.create( 'cardExpiry', { placeholder: eh_stripe_val.card_elements_options.card_expiry_placeholder, style: elementStyles, classes: elementClasses } );
            stripe_cvc  = elements.create( 'cardCvc', { placeholder: eh_stripe_val.card_elements_options.card_cvc_placeholder, style: elementStyles, classes: elementClasses } );

            stripe_card.addEventListener( 'change', function( event ) {
mint rapids
#

Your integration is Split Card Element, but not Card Element

neon cedar
#

are u there

mint rapids
#

Discord is busy and will take time to reply

neon cedar
#

no problem but close the ticket immediately if any delay from my side

#

Don’t close

mint rapids
neon cedar
#

thats not the issue i tried it

#

i have more than one account

mint rapids
#

Still looking how your website is integrated

#

Am I looking at the right section?

neon cedar
#

yes

#

you can check the code , we are rendering the icon using strip, and show icon is true

mint rapids
#

Based on the publishable key used in this website: pk_test_51O9...XZ0, it belongs to acct_1O9MUFFlWWYWvKS1 which is a UK account

neon cedar
#

ok

#

can you make sure that my code is correct

#

or anything else is needed

mint rapids
#

Your code looks correct to me

neon cedar
#

ok, let me change the contry of the account iam using austria and give it a try

#

plz don’t close it till then

#

still no change

#

i have tried it even with a vpn and incognito mode

mint rapids
#

Did you update the publishable key to another account?

neon cedar
#

no, i just change the cusntry of the same account in stripe dashboard

mint rapids
#

I'm able to see the dropdown options in your website now

neon cedar
#

can you share me a screen recording

#

and also , any idea how can i do the same

#

no need got it now

#

thank you so much

mint rapids
#

Great to hear that you get it now