#addyPaladin-decline

1 messages · Page 1 of 1 (latest)

slim willow
dapper bramble
#

Ok I am sharing my code but I am not chargin my customer right now I am just adding a payment method to a custome

#

customer*

#
  return (
    <CustomModalWrapper
      onClose={onClose}
      open={open}
    >
      <Grid
        container
        wrap='nowrap'
      >
        {isCharge &&
        <SubscriptionSummary
          heading='YOUR PLAN'
          subscriptionDetails={subscriptionDetails}/>
        }
        {clientSecret && (
          <Elements
            stripe={stripePromise}
          >
            <BillingCheckoutForm
              clientSecret={clientSecret}
              isAddPaymentMethod={isAddPaymentMethod}
              isCharge={isCharge}
              onClose={onClose}
              onSubmit={onSubmit}
            />
          </Elements>
        )}
      </Grid>
    </CustomModalWrapper>
  );
};
slim willow
#

ok well that doesn't really show me the part I need to see. Maybe just share the cus_xxx ID of one of the customers you're using?

dapper bramble
#

Customer ID: cus_LOyZKKJuT1B6GE

#

Live mode

#

Can be this an issue that I am using staging however my app is still deployed on aws. I will soon shift it to production after the test

slim willow
#

are you testing in livemode?

dapper bramble
#

Yes

slim willow
#

that's why it fails then

#

the Customer you're using has a clearly fake email address, so we think this is fraud and are blocking the payment.

#

don't test in livemode.

dapper bramble
#

Ok if I create a customer with a valid email will it be alright

slim willow
#

I can't say. Test your integration in test mode. If your real customers report problems being able to make payments then contact our support team!