Would anyone be able to help me with implementing stripe as a payment processor on the ecommerce plugin. I am sure I must be missing something as I keep getting a “NotImplementedError”.
I have performed a fresh installation of tutor and the ecommerce plugin. I have then created a ecommerce-config.yml file as below:
stripe: publishable_key: pk_test_... secret_key: sk_test_... country: db
And installed it as so:
tutor config save --set “ECOMMERCE_PAYMENT_PROCESSORS=$(cat ecommerce-config.yml)” --set ‘ECOMMERCE_ENABLED_PAYMENT_PROCESSORS=[“stripe”]’ --set ‘ECOMMERCE_ENABLED_CLIENT_SIDE_PAYMENT_PROCESSORS=[“stripe”]’
I then run tutor local quickstart just in case.
Upon attempting to checkout as a student, clicking the checkout with Stripe button shows a “Could not submit order” error.
It appears that checkout is calling a function (get_transaction_parameters) in the stripe.py file that will always raise a NotImplementedError. See ecommerce log below.
Any assistance with fixing this would be greatly appreciated.