#bwurtz999

1 messages · Page 1 of 1 (latest)

haughty spokeBOT
unborn nacelle
#

In production, these payments would be made with a terminal reader

#

So I'm trying to mimic that for testing purposes

severe stream
#

Hmmm... is it a hard requirement that these payments also need to be made through Stripe? Is there a reason you can't just mock this out locally

unborn nacelle
#

Yes... I'd like to be able to test refunds

#

And I can't do that unless it goes through Stripe and gets a real payment intent

severe stream
#

Do you really need to see your database with 1000 order though? What you already attempted to do (passing in the raw card numbers to create a payment) won't be enough to model a physical terminal reader payment

unborn nacelle
#

The large number is for testing in general. I don't need 1000 payments I guess

#

But I would like to simulate payments

#

How would I simulate payments from a terminal reader through seeding?

severe stream
#

You'd have to actually go through the effort of using the simulator (or a physical reader) and making the payments in test mode

#

I don't think there's any other way around it