#kronk

1 messages · Page 1 of 1 (latest)

versed fractalBOT
willow sentinel
#

But also you could use the cli and run "stripe trigger invoice.finalization_failed" to test

prime grail
#

I saw this page too, but I wasn't able to input invalid tax location data through the Customer Portal UI 😦 I tried entering an invalid zip code for example but given the form validation wasn't able to submit the zip code. Is there something along the lines of address_full_match like they have for Connect account testing (https://stripe.com/docs/connect/testing#test-verification-addresses) that I could use in Test Mode?

#

Is there a way to customize the subscription a webhook event is triggered for through the CLI? I'm hoping to do an E2E test and with the CLI I've only been able to generate one-off seed data

willow sentinel
#

Here's the list of failure reasons: https://stripe.com/docs/api/invoices/object#invoice_object-last_finalization_error-type. Looks like card_error is one. You can try providing an invalid card number that fails the Luhn checkhttps://stripe.com/docs/testing#invalid-data

Simulate payments to test your integration.

prime grail
#

When I input a card number that fails the Luhn check through the UI it similarly also throws a form validation error and I can't submit it

willow sentinel
#

Wait you're using the customer portal?

prime grail
#

yes

willow sentinel
#

How are you attempting to finalize the invoices?

prime grail
#

We have subscriptions set up to auto-bill, so Stripe is finalizing

willow sentinel
#

Ah so you just want to update details ahead of the next invoice?

prime grail
#

yup!

willow sentinel
#

Oh well you could do this through the API then (not through the customer portal) since the portal has UI validation checks

prime grail
#

gotcha, so there's no way to do it through the UI? was hoping to avoid having to go the API route 🥲

willow sentinel
#

Unfortunately I think you'll have to go the API route if you're using Customer Portal

prime grail
#

ah i see, thanks!