#nimish-tank_code
1 messages ¡ Page 1 of 1 (latest)
đ 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/1327205401891966998
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! this is just part of our Link payment method. It has no impact on your and the payment is processed the same way as a card payment would be from a technical standpoint. Why do you want to remove that option?
addEventListener("DOMContentLoaded", (event) => {
const options = {
clientSecret: client_secret,
appearance: {},
};
// Set up Stripe.js and Elements to use in checkout form, passing the client secret obtained in step 3
const elements = stripe.elements(options);
// Create and mount the Payment Element
const paymentElement = elements.create("payment");
paymentElement.mount("#payment-element");
const add_card_form = document.getElementById("payment-form");
add_card_form.addEventListener("submit", async (event) => {
$(window).off('beforeunload');
$("#add_card_error_message").hide();
event.preventDefault();
const { error } = await stripe.confirmSetup({
elements,
confirmParams: {
return_url: site_url+'web/add_card_thankyou',
},
});
if (error) {
var errors = '<div class="alert alert-danger">' + error.message + '</div>';
$("#add_card_error_message").show();
$("#add_card_error_message").html(errors);
}
return false;
});
});
I have to remove bank tab?
you can't remove this in code, you have to write to https://support.stripe.com/?contact=true to ask us to disable it on your account. Having more information on why you want to disable it would be helpful too. Please see the docs I shared that explain what that bank payment method is and the benefits.
fair; I would suggest reading the docs I shared that explain what that bank payment method is and the benefits. If you want to disable this method that's part of Link, you have to ask our support team.
how to disable bank payment stripe ?
you can't remove this in code, you have to write to https://support.stripe.com/?contact=true to ask us to disable it on your account.
If you want to disable this method that's part of Link, you have to ask our support team.