500 Error on Stripe Checkout

  • Posts: 28
  • Thank you received: 1
8 years 1 month ago #251680

-- 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.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
8 years 1 month ago #251751

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.

  • Posts: 12
  • Thank you received: 0
7 years 2 months ago #277983

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.

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 2 months ago #277985

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 7 years 2 months ago by Jerome.

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

  • Posts: 12
  • Thank you received: 0
7 years 2 months ago #278274

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.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 2 months ago #278275

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.089 seconds
Powered by Kunena Forum