stripe-samples / saving-card-without-payment

How to build a form to save a credit card without taking a payment.
https://stripe.com/docs/payments/save-and-reuse
MIT License
127 stars 68 forks source link

ruby setup: path doesn't exist #13

Closed roberthopman closed 3 years ago

roberthopman commented 3 years ago

Bug report

For the ruby setup via the Stripe CLI, in .env.example: STATIC_DIR=../../client doesn't exist. It should be STATIC_DIR=../client

Please advise.

cjavilla-stripe commented 3 years ago

@roberthopman this will be different depending on how you install the sample. With git clone, it'll be ../../client with stripe samples create, it'll be ../client you might need to experiment for your environment.

roberthopman commented 3 years ago

I fully understand, perhaps this could be mentioned in the readme for future readers, as this took me time to realise.

cjavilla-stripe commented 3 years ago

Good idea! Thanks for the feedback and sorry for the lost time.