#usmseong-prb-setup

1 messages ยท Page 1 of 1 (latest)

cursive abyssBOT
#

Hello! We'll be with you shortly. 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.

spiral badger
#

Can you copy paste your code here to keep it in the thread?

#

Copy pasting it here:

   if (price > 0) {
      const { error: stripePIError, paymentIntent: responsePI } = await stripe.confirmCardPayment(
        clientSecret,
        {
          payment_method: paymentMethod.id,
        },
        { handleActions: false },
      );
      stripeError = stripePIError;
    } else {
      const { error: stripeSIError, setupIntent } = await stripe.confirmSetup({
        elements,
        clientSecret,
        redirect: 'if_required',
        confirmParams: {
          return_url: window.location.href,
        },
      });
      stripeError = stripeSIError;
    }
shut grail
#

yes that's my code

spiral badger
shut grail
#

ahh let me try one moment

#

it works thank you very much ๐Ÿ™ ๐Ÿ™ appreicate it

spiral badger
#

๐Ÿ‘ awesome!