You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Valentin Ballestrino edited this page Nov 23, 2016
·
7 revisions
Yo handle payment gateways in your app, you need to integrate them with your app. Some gateways have integrations with Stall, so integrating them in your app should be dead simple.
If no existing gateway cover your needs, you can create your own.
# If the class is not in your app's autoload_paths, require itrequire'my_payment_gateway'Stall.configuredo |config|
config.shipping.register_gateway:my_payment_gateway,'MyPaymentGateway'end
Restart your server and you should be able to access the payment method.