We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addons should be able to provide callback functionality without declaring URL's.
This would help with the following:
www.shuup-shop.com/callback/<identifier>
Addon would then declare callback_providers and declare my_addon in the provider:
callback_provider
my_addon
class MyAddonCallbackProvider(CallbackProvider): identifier = "my_addon" def callback(self, request, *args, **kwargs): pass
after that the URL www.shop.com/callback/my_addon would call MyAddonCallbackProvider:callback
www.shop.com/callback/my_addon
MyAddonCallbackProvider:callback
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Addons should be able to provide callback functionality without declaring URL's.
This would help with the following:
Idea for Solution
www.shuup-shop.com/callback/<identifier>
Addon would then declare
callback_provider
s and declaremy_addon
in the provider:after that the URL
www.shop.com/callback/my_addon
would callMyAddonCallbackProvider:callback
The text was updated successfully, but these errors were encountered: