Skip to main content

500 Error on Stripe Checkout

More
10 years 3 weeks ago #251680 by TheBeacon
-- url of the page with the problem -- : academygames.com
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6.25
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : [Thu Oct 06 03:58:26.866824 2016] [cgi:error] [pid 15628:tid 140544558708480] [client 64.37.231.173:35304] AH02812: attempt to invoke directory as script: /home/agames/public_html/cgi-bin/

Hi,

I am getting a 500 Error on Stripe checkout after the user inputs their card and submits their order. This appears to have started after migrating to a new VPS. When looking in my logs, the error appears to be as follows:

[Thu Oct 06 03:58:26.866824 2016] [cgi:error] [pid 15628:tid 140544558708480] [client 64.37.231.173:35304] AH02812: attempt to invoke directory as script: /home/agames/public_html/cgi-bin/

Any ideas on what may be causing this?

Please Log in or Create an account to join the conversation.

More
10 years 3 weeks ago #251751 by nicolas
Hi,

That's the apache error log.
Normally, you should have something like a fatal error in the php error log related to that 500 error.
I don't see why Stripe would need to use some CGI-bin since it's only PHP code. So your error message in the apache error log might not be related to the issue.

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #277983 by Perger
Replied by Perger on topic 500 Error on Stripe Checkout
did anyone resolve this issue, i get this on processing

after adding credit cards information, I am using the plug in from github.com/HikaShop/hikashoppayment-stripe
please advice in a way to solve this.

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago - 9 years 1 month ago #277985 by Jerome
Replied by Jerome on topic 500 Error on Stripe Checkout
Hello,

That's the apache error log.
Normally, you should have something like a fatal error in the php error log related to that 500 error.


Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Last edit: 9 years 1 month ago by Jerome.

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #278274 by Perger
Replied by Perger on topic 500 Error on Stripe Checkout
error message shows - PHP log

[12-Sep-2017 14:53:09 America/New_York] Stripe Notice: Undefined property of Stripe\Customer instance: sources
[12-Sep-2017 14:54:11 America/New_York] Stripe Notice: Undefined property of Stripe\Customer instance: sources

the page is blank, no other error.

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #278275 by Jerome
Replied by Jerome on topic 500 Error on Stripe Checkout
Hello,

Unfortunately, these are just notices but it gives an indication of what could be the problem.
Since the plugin is asking for the customer "sources" :
github.com/HikaShop/hikashoppayment-stri...ripe/stripe.php#L197
If the Stripe lib do not provide that information, the function which is called in the plugin will generate a fatal error (but since the code is in a "try/catch".. I don't know why that problem is not handle...).
github.com/HikaShop/hikashoppayment-stri...tripeObject.php#L137

But the real question is : Why does the customer do not have sources ?
It would mean that the stripe customer which is asked to the plugin do not exist.. Thing which is not managed by the plugin. It asks for a stripe customer and it should get a working result..
Did you touch your Stripe customer in your interface ? Did you test the plugin with new Joomla accounts ?

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

Time to create page: 0.207 seconds
Powered by Kunena Forum