Subscription plan does not exist

Laraship QuestionsCategory: ConfigurationSubscription plan does not exist
foliends asked 6 years ago
When testing payment I get the error Subscription plan does not exist using the plans which are already created... added a screenshot... Any help on this? Robert
Attachments
foliends replied 6 years ago

PS: I’m in testing mode with stripe…

foliends replied 6 years ago

Was looking at the documentation noticed the Subscriptions – has – Products – Subscription – Webhooks Calls and Invoice and ber me only two Recurring Products and Subscriptions is that right?

foliends replied 6 years ago

OK, got it… but when trying to synchronize I get a error on stripe.. screenshot… https://rswebdesign.bid/images/2018.07.06_016.png

laraship Staff replied 6 years ago

Hello
We will check and fix ASAP, may be it’s a bug with latest version of stripe

foliends replied 6 years ago

just for more info… https://rswebdesign.bid/images/2018.07.06_017.png

Saeed Matar replied 6 years ago

Hi,

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’);

foliends replied 6 years ago

Sorry, now I get server error – line i addded.. $headers = array(‘Authorization’ => ‘Basic ‘ . base64_encode($this->getApiKey() . ‘:’),‘Stripe-Version’ => ‘2017-12-14’);

Robert

foliends replied 6 years ago

Screenshot…. https://rswebdesign.bid/images/2018.07.06_018.png

Saeed Matar replied 6 years ago

from screenshot I noticed that there are something in the single quote could you make sure that you used the correct single quote

https://ibb.co/ixv8SJ

foliends replied 6 years ago

Ok that did the job… screenshot – https://rswebdesign.bid/images/2018.07.06_020.png – WORKS!!!

We have another issue with paypal…. should I open another subject?

Robert

laraship Staff replied 6 years ago

Cool 🙂 Yes please create a new question and will follow up there

foliends replied 6 years ago

we can close this thanks a mill for all your efforts and help!!!!!

2 Answers
laraship Staff answered 6 years ago

Hello Follins,

Once you create a Plan you need to synchronize it with your payment gateway, this can be made under Plans => Plan Actions

Attachments
laraship Staff answered 6 years ago
Also, We have upgraded stripe Plugin to 1.3.4 to override the latest version incompatibility 
foliends replied 6 years ago

thx