[Skip to main content](#vessel-content)

#   500 Error on Stripe Checkout

##

- **[TheBeacon](/forum/user/30945-thebeacon "View TheBeacon's Profile")**
- [![TheBeacon's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30945-thebeacon "View TheBeacon's Profile") Topic Author
- [ Offline](/forum/user/30945-thebeacon)

Less More

- Posts: 28
- Thank you received: 1
-
-

10 years 1 month ago [\#251680](#251680) by [TheBeacon](/forum/user/30945-thebeacon "View TheBeacon's Profile")  *[500 Error on Stripe Checkout](/forum/27-checkout/886777-500-error-on-stripe-checkout#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) -- : &#91;Thu Oct 06 03:58:26.866824 2016&#93; &#91;cgi:error&#93; &#91;pid 15628:tid 140544558708480&#93; &#91;client 64.37.231.173:35304&#93; AH02812: attempt to invoke directory as script: /home/agames/public&#95;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:  &#91;Thu Oct 06 03:58:26.866824 2016&#93; &#91;cgi:error&#93; &#91;pid 15628:tid 140544558708480&#93; &#91;client 64.37.231.173:35304&#93; AH02812: attempt to invoke directory as script: /home/agames/public&#95;html/cgi-bin/  Any ideas on what may be causing this?")* was created by *[TheBeacon](/forum/user/30945-thebeacon "View TheBeacon's Profile")*

-- url of the page with the problem -- : [ academygames.com](https://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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc3Ny01MDAtZXJyb3Itb24tc3RyaXBlLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86575
- Thank you received: 14318
-
-

10 years 1 month ago [\#251751](#251751) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[500 Error on Stripe Checkout](/forum/27-checkout/886777-500-error-on-stripe-checkout#251751 "-- 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) -- : &#91;Thu Oct 06 03:58:26.866824 2016&#93; &#91;cgi:error&#93; &#91;pid 15628:tid 140544558708480&#93; &#91;client 64.37.231.173:35304&#93; AH02812: attempt to invoke directory as script: /home/agames/public&#95;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:  &#91;Thu Oct 06 03:58:26.866824 2016&#93; &#91;cgi:error&#93; &#91;pid 15628:tid 140544558708480&#93; &#91;client 64.37.231.173:35304&#93; AH02812: attempt to invoke directory as script: /home/agames/public&#95;html/cgi-bin/  Any ideas on what may be causing this?")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc3Ny01MDAtZXJyb3Itb24tc3RyaXBlLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Perger](/forum/user/31797-perger "View Perger's Profile")**
- [![Perger's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31797-perger "View Perger's Profile")
- [ Offline](/forum/user/31797-perger)

Less More

- Posts: 12
- Thank you received: 0
-
-

9 years 2 months ago [\#277983](#277983) by [Perger](/forum/user/31797-perger "View Perger's Profile")  Replied by *[Perger](/forum/user/31797-perger "View Perger's Profile")* on topic *[500 Error on Stripe Checkout](/forum/27-checkout/886777-500-error-on-stripe-checkout#277983 "-- 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) -- : &#91;Thu Oct 06 03:58:26.866824 2016&#93; &#91;cgi:error&#93; &#91;pid 15628:tid 140544558708480&#93; &#91;client 64.37.231.173:35304&#93; AH02812: attempt to invoke directory as script: /home/agames/public&#95;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:  &#91;Thu Oct 06 03:58:26.866824 2016&#93; &#91;cgi:error&#93; &#91;pid 15628:tid 140544558708480&#93; &#91;client 64.37.231.173:35304&#93; AH02812: attempt to invoke directory as script: /home/agames/public&#95;html/cgi-bin/  Any ideas on what may be causing this?")*

did anyone resolve this issue, i get this on processing
[ ![errohickahop500.jpg](/forum/attachment/40210) ](/forum/attachment/40210 "...ickahop500.jpg")

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

- [ ![errohickahop500.jpg](/forum/attachment/40210) ](/forum/attachment/40210 "...ickahop500.jpg") [ ](/forum/attachment/40210?download=1 "...ickahop500.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc3Ny01MDAtZXJyb3Itb24tc3RyaXBlLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 2 months ago -  9 years 2 months ago [\#277985](#277985) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[500 Error on Stripe Checkout](/forum/27-checkout/886777-500-error-on-stripe-checkout#277985 "-- 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) -- : &#91;Thu Oct 06 03:58:26.866824 2016&#93; &#91;cgi:error&#93; &#91;pid 15628:tid 140544558708480&#93; &#91;client 64.37.231.173:35304&#93; AH02812: attempt to invoke directory as script: /home/agames/public&#95;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:  &#91;Thu Oct 06 03:58:26.866824 2016&#93; &#91;cgi:error&#93; &#91;pid 15628:tid 140544558708480&#93; &#91;client 64.37.231.173:35304&#93; AH02812: attempt to invoke directory as script: /home/agames/public&#95;html/cgi-bin/  Any ideas on what may be causing this?")*

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 &amp; HikaSerial developer / HikaShop core dev team.

Last edit: 9 years 2 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc3Ny01MDAtZXJyb3Itb24tc3RyaXBlLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Perger](/forum/user/31797-perger "View Perger's Profile")**
- [![Perger's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31797-perger "View Perger's Profile")
- [ Offline](/forum/user/31797-perger)

Less More

- Posts: 12
- Thank you received: 0
-
-

9 years 2 months ago [\#278274](#278274) by [Perger](/forum/user/31797-perger "View Perger's Profile")  Replied by *[Perger](/forum/user/31797-perger "View Perger's Profile")* on topic *[500 Error on Stripe Checkout](/forum/27-checkout/886777-500-error-on-stripe-checkout#278274 "-- 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) -- : &#91;Thu Oct 06 03:58:26.866824 2016&#93; &#91;cgi:error&#93; &#91;pid 15628:tid 140544558708480&#93; &#91;client 64.37.231.173:35304&#93; AH02812: attempt to invoke directory as script: /home/agames/public&#95;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:  &#91;Thu Oct 06 03:58:26.866824 2016&#93; &#91;cgi:error&#93; &#91;pid 15628:tid 140544558708480&#93; &#91;client 64.37.231.173:35304&#93; AH02812: attempt to invoke directory as script: /home/agames/public&#95;html/cgi-bin/  Any ideas on what may be causing this?")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc3Ny01MDAtZXJyb3Itb24tc3RyaXBlLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 2 months ago [\#278275](#278275) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[500 Error on Stripe Checkout](/forum/27-checkout/886777-500-error-on-stripe-checkout#278275 "-- 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) -- : &#91;Thu Oct 06 03:58:26.866824 2016&#93; &#91;cgi:error&#93; &#91;pid 15628:tid 140544558708480&#93; &#91;client 64.37.231.173:35304&#93; AH02812: attempt to invoke directory as script: /home/agames/public&#95;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:  &#91;Thu Oct 06 03:58:26.866824 2016&#93; &#91;cgi:error&#93; &#91;pid 15628:tid 140544558708480&#93; &#91;client 64.37.231.173:35304&#93; AH02812: attempt to invoke directory as script: /home/agames/public&#95;html/cgi-bin/  Any ideas on what may be causing this?")*

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](https://github.com/HikaShop/hikashoppayment-stripe/blob/143350b57dd904fe835d8ae014399a865a4b80df/plg_hikashoppayment_stripe/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](https://github.com/HikaShop/hikashoppayment-stripe/blob/master/plg_hikashoppayment_stripe/lib/Stripe/StripeObject.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 &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc3Ny01MDAtZXJyb3Itb24tc3RyaXBlLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.088 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
