#maksym-y_api

1 messages Β· Page 1 of 1 (latest)

ripe cipherBOT
#

πŸ‘‹ 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/1443561168173273129

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

chrome path
#

πŸ‘‹ Hi there! Let me take a look

tough pumice
#

Hi. If you need more details I would be happy to share with you. Thanks!

chrome path
#

Thanks. Just to clarify, what do you mean by "fast payment" here?

tough pumice
#

I mean paying via ECE

chrome path
#

Is this something that you can reproduce every time?

tough pumice
#

yes

chrome path
#

OK, and can you clarify the exact steps?
Firstly, to set up: you create a checkout session on your backend, and then mount the Payment Element and the ECE on the frontend?

tough pumice
#

yes, exactly

chrome path
#

OK, and then how do you reproduce this exactly?

tough pumice
#

I try to do a payment with Card Payment but, for example, with insufficient fund on the card. Then receive decline error as expected. Then select Fast payment, for example, But with Gpay and receive the error that you see on the screen above.

chrome path
#

Can you share the confirm handler code you have for the ECE?

ripe cipherBOT
tough pumice
#
expressCheckoutElement.on('confirm', async (event) => {
  if (loadActionsResult?.type !== 'success') return;

  const { error } = await loadActionsResult.actions.confirm({
    expressCheckoutConfirmEvent: event,
    redirect: 'if_required',
  });

  if (error) {
    isPaymentMessage.value = true;
    paymentMessage.value = error.message;

    setTimeout(() => {
      isPaymentMessage.value = false;
      paymentMessage.value = '';
    }, 5000);
  } else {
    setTimeout(() => {
      document.documentElement.classList.remove('no-scroll');
    }, 200);

    updateCustomerInfo({ paymentMethodType: event.expressPaymentType });

    await signUpUser();
  }
});
void pawn
#

Taking a look

#

We're going to need to investigate this further, can I ask yuo write in to our team? You'll get a DM with a URL

ripe cipherBOT
#

Hello @tough pumice, we have sent you a direct message, please check it at https://discord.com/channels/@me/1443576937829236797

  • πŸ”—The message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
tough pumice
#

Am I right that I need to create a support case? because when I open the link I see this page https://support.stripe.com/search?q=Support case ?

void pawn
#

there should be instructions in the chat window when you open the URL

tough pumice
#

Yes, I see: "You'll be asked to confirm that you want to create a support case." but I don't see any confirmation, just this page https://support.stripe.com/search?q=Support case

void pawn
#

when you open the URL, there's no assistant window? like this:

tough pumice
#

I see πŸ™‚

void pawn
#

the instructions should be in there

tough pumice
#

oh, sorry

void pawn
#

did you get it to work?

#

actually, looks like you opened a support case yesterday?

ripe cipherBOT
void pawn
#

ok, I've taken ownership of that support case you've already started with. I'll email you there

tough pumice
#

About support case. Yes, this case was opened by our CEO. I was added to email communication and can send additional details that shared with you.