unable to enable payment methods on open source sharetribe here is the error message display:
translation missing: en.admin.communities.settings.payments_not_enabled
Thank you to post with a topic title in english, je ne penses pas que tout le monde puisse comprendre le français.
This problem is already hot and currently in progress in several topics. We all are waiting for this stripe payment method in the opensource ST solution.
Check out :
On my side I also get the same flash message.
These are my tests to figure out where it comes from :
I thought it came from a lack of translation because of “fr” or whatever your language choice=> No, i tried many different language selection (Every english, german, french, and finnish… I guess this would be translated at least for english or else in finnish as it is mothertongue of ST team )
I tried to put a dummy string for the app_encryption_key in config/config.yml file => No
I did a grep -R to understand where came from the flashmessage => app/controllers/admin/payment_preferences_controller.rb shows on line 2 that there is a checkout of the variable which refer to the line 70 : the flash message is set when stripe (or paypal) is not enable. @stripe_enabled = 1 when StripeHelper.stripe_provisioned?(@current_community.id)
I am not a RoR developper, so what is following is maybe a misunderstanding…
StripeHelper.stripe_provisioned refer to the file app/wiew_utils/stripe_helper.rb on line 25 : Stripe is active if it can get a community id, payment_gateway and payment_process.
Thus, i put a new row in the payment_settings table of the ST database, with the community ID of my community (1) with payment_gateway (stripe) and with payment_process (preauthorized) => This still not work…
I am obviously missing something…
Other assumptions ?
Following worked. And now that flash message is gone.
NOte: Not done setup of payment yet. This is just for the flash message.
Open sharetribe > config > locales > en.yml
Go to
en.admin.communities.settings.payments_not_enabled
and add line
payments_not_enabled: “Payments are not enabled for your marketplace”