#koks_api

1 messages ยท Page 1 of 1 (latest)

somber pilotBOT
#

๐Ÿ‘‹ 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.

gilded tangle
#

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

gray smelt
gilded tangle
#

Are you saying, payment method is missing for setup intent api request?

gray smelt
#

I see you've set sripe.confirmSetup, can you share your page?

gilded tangle
#

I'm doing this for recurring payment

#

do you need console outcome page? what page you need?

gray smelt
#

I need your URL where I can reproduce this. As of now, it does not look like your confirm call is working

gilded tangle
#

ok

#

I'm doing this in salesforce

#

Here is the JS code snippet from salesforce

#

seti_1RiFULPJyrrClAxyXKtAxCJY

gray smelt
#

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

gilded tangle
#

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

gray smelt
#

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.