got the following error when I try to create plan object in tripe via laraship,
"message": "Received unknown parameters: name, statement_descriptor",
After checking, noticed that Stripe recently updated their APIs (The plan object fields statement_descriptor and name attributes have been moved to product objects)
https://stripe.com/docs/upgrades#2018-02-05
Do you have plan to update Laraship accordingly? or any quick fix for that?
Thanks.
Gavin
1 Answers
Hello,
Please update stripe Plugin to 1.3.4
to do a quick fix till we upgrade and test the new changes lets try the following solution:
Corals\modules\Payment\Stripe\Message\AbstractRequest.php
line 195
add to the array the following element 'Stripe-Version' => '2017-12-14'
so the array will be like this
$headers = array('Authorization' => 'Basic ' . base64_encode($this->getApiKey() . ':'),
'Stripe-Version' => '2017-12-14');
Thanks for your quick response.
I got “Failed to create folders” error when I try to update modules.
What folders shall I give the write permissions to? Thanks.
you need to make sure web user is the owner of the files,
yes, the web user is already the owner of all files. May I know under what folders those new modules will be created when I trigger the module update under “Administration”-“Modules”?
there are files needs to be copied under public folder
Please login or Register to submit your answer