shopwareArchive / AppTemplate

13 stars 8 forks source link

Fixed Stripe API Keys #5

Closed sunny179 closed 1 year ago

sunny179 commented 3 years ago

As this is payment gateway so client will have their own stripe keys where payment will be directed for all customer orders so we can't keep stripe keys in app > env file. It should be configuration based and our app should fetch configuration settings via Admin API.

Let me know if this makes sense?

shyim commented 3 years ago

Hey,

You can call the system-config endpoint of the application and get the config and create with that the stripe client. It would be possible, but you would need to do an API call to the Shopware server always