#koks_api
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/1391775544810668163
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
Here is the code snippet
createSetupIntent({ accountId: this.accId, opportunityId: this.oppId, email: this.email })
.then((result) => {
console.log(result);
let setupIntent = result;
console.log('setupIntent', JSON.stringify(setupIntent));
this.stripe.confirmSetup(setupIntent.client_secret, {
payment_method: {
card: ['card'],
billing_details: { name: ${this.firstName} ${this.lastName} }
}
})
.then((setupResult) => {
console.log('setupResult', JSON.stringify(setupResult))
this.showGoogleAppleModal=false;
setTimeout(() => window.location.reload(), 1500);
})
.catch(error => {
console.error(error.message);
});
})
.catch(error => {
console.error(error.message);
});
This is the setup intent request id # seti_1RiELUPJyrrClAxyAwk66dDT
Hi, I see that that you created the setup Intent, https://dashboard.stripe.com/test/logs/req_34i1vOTkOReosB and if you look at the status, it needs a payment method. For this reason, this is working as expected until you collect the payment method and confirm it: https://docs.stripe.com/payments/save-and-reuse#submit-payment-details there would not be a payment method id. You can learn a bit more about how SetipIntent works here: https://docs.stripe.com/payments/paymentintents/lifecycle
Are you saying, payment method is missing for setup intent api request?
I see you've set sripe.confirmSetup, can you share your page?
I'm doing this for recurring payment
do you need console outcome page? what page you need?
I need your URL where I can reproduce this. As of now, it does not look like your confirm call is working
ok
I'm doing this in salesforce
Here is the JS code snippet from salesforce
seti_1RiFULPJyrrClAxyXKtAxCJY
The error messages here seems helpful. Since you're using a Salesforce, you'd want to write in to our support team as they have more expertise with Salesforce Connectors: https://support.stripe.com/contact
On this channel, we can help if you're directly integrating with Stripe instead
It is ok, I have been receiving input via this route and it worked fine
can we continue our discussion here only, which is quick instead of sending email
I'm sorry, we will not be able to assist here if you're using Salesforce as we do not have expertise here and we will not have exposure to how it is all built on the backend.