The configuration you pass no longer assumes "gateway" in the path, so you will want to change config from:
cfg = { path = "stripe.stripe", ... };
to
cfg = { path = "gateway.stripe.stripe", ... };
The README has been updated to reflect this. This allows extending the gateways with your own overrides. I use this to create custom responses, e.g. I have my own model/stripe/stripe.cfc that looks like:
component extends="vendor.cfpayment.api.gateway.stripe.stripe" {
function createResponse () {
return createObject("component", "response").init(argumentCollection = arguments, service = getService());
}
}
And I have a custom model/stripe/response.cfc with custom error message processing (e.g., we remove "Stripe" from all error messages and replace with "Bank" to make it generic since we don't want to expose Stripe to our end users.
Brian