0

I have installed the Inchoo_Stripe extension which I found in https://github.com/Inchoo/magento2-Inchoo_Stripe and follewed this tutorial: http://inchoo.net/magento-2/implementing-payment-gateway-magento-2/ .

I have created a test account in stripe. Got an API key. After lots of search on internet managed to get it on frontend. I used a test credit card info as:

card no: 42424242424242 cvc: 123 expiry date: some future year and month. 

as I click place order I get error as follow: enter image description here

1
  • try to change the error message to $e->getMessage() in vendor/magento/module-checkout/model/GuestPaymentInformation.php Commented Nov 21, 2017 at 9:00

1 Answer 1

1

As the extension creator shared that this extension is for educational purposes only, do not use in production!

If you still are using this extension, Make sure that you have installed all dependencies via composer:-

composer config repositories.inchoostripe git https://github.com/Inchoo/magento2-Inchoo_Stripe.git composer require inchoo/stripe:dev-master 
9
  • I tried to follow you. I got following warning when I entered the second command:Cannot create cache directory /home/purushotam/.composer/cache/repo/https---repo.magento.com/, or directory is not writable. Proceeding without cache Cannot create cache directory /home/purushotam/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache Cannot create cache directory /home/purushotam/.composer/cache/files/, or directory is not writable. Proceeding without cache Commented Nov 21, 2017 at 7:48
  • The reason is that your var/cache is not writeable. You will need to make it writeable Commented Nov 21, 2017 at 7:49
  • I made it writable. But same happens. I forgot to give you full warning. At last it asks for user name as : Loading composer repositories with package information Authentication required (repo.magento.com): Username: Commented Nov 21, 2017 at 7:52
  • You will need to create your account and enter the required details. Username will be Username, and password will be key. Commented Nov 21, 2017 at 7:56
  • magento.stackexchange.com/questions/90983/… this link can help you for the composer thing Commented Nov 21, 2017 at 7:56

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.