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 :
- https://www.sharetribe.com/community/t/stripe-payment-app-encryption-key/848
- https://www.sharetribe.com/community/t/how-to-enable-stripe/838
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 ?