Adding a payment option to the Stripe API Call

Hello,

I’ve created a self hosting server for Ghost Blog. Now after going through the Ghost Github, I found the StripeAPI.js file that contains the API calls to Stripe. I added some another payment option to this file and want to push this into my ghost blog now. But the problem is this file/ file structure doesn’t exit in my server files. Where can I find the same functionality?

If you make changes to Ghost’s core (what you see on Github), you need to build a production-ready archive for it. Have a look here, at the “Building Ghost from source” section:

You will then need to install that archive with the --archive flag in the Ghost CLI:

1 Like