Rank: Member
Groups: Authorized User, HelpDesk Joined: 12/30/2020(UTC) Posts: 13
|
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 472
Thanks: 4 times Was thanked: 34 time(s) in 33 post(s)
|
I have seen this issue come up before and we have an open bug report for it. The problem is that I've never been able to reproduce it.
It can happen if the gateway is installed twice. In a normal situation, this can't happen because the install button disappears once it's installed.
Open/edit the ac_PaymentGateways database table and check to see if there is a duplicate entry for "AbleCommerce Test Gateway". If so, remove the duplicate. You may need to recycle the application afterwards.
The duplicate Class ID can cause a 500 server error. |
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
Rank: Member
Groups: Authorized User, HelpDesk Joined: 12/30/2020(UTC) Posts: 13
|
There is no duplicate entry, here is the only record in the ac_PaymentGateways table:
1 1 Gift Certificate Payment Provider CommerceBuilder.Payments.Providers.GiftC (...) NULL False
The name doesn't even match "AbleCommerce Test Gateway", are they the same thing?
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 472
Thanks: 4 times Was thanked: 34 time(s) in 33 post(s)
|
That's something different...
With no entry for the AbleCommerce test gateway in the database, that would mean the Plugin is not installed.
Go to the Plugins page and try to install it again.
|
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
Rank: Member
Groups: Authorized User, HelpDesk Joined: 12/30/2020(UTC) Posts: 13
|
It's not working. Is it normal to have different schemas in the database after upgrade succeeded. See image below: Screen Shot 2022-11-17 at 21.51.45.png (39kb) downloaded 2 time(s).Edited by user Thursday, November 17, 2022 2:05:03 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
You can get different schema after an upgrade if your site is hosted with a control panel like Plesk. I just had that happen and we had to change the schema on those tables to dbo before the site would work.
|
|
|
|
Rank: Member
Groups: Authorized User, HelpDesk Joined: 12/30/2020(UTC) Posts: 13
|
The issue persists each time a plugin is installed, clicking Configure results in a 500 server error. Do we need to apply folder permissions? I need to fix this in order to move on with testing the new version.
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 472
Thanks: 4 times Was thanked: 34 time(s) in 33 post(s)
|
Have you fixed the database so the tables are all set to dbo?
Installing a payment plugin will add a record to the ac_PaymentGateways table. If it can't write the record, then you'll keep getting the 500 server error. |
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
Rank: Member
Groups: Authorized User, HelpDesk Joined: 12/30/2020(UTC) Posts: 13
|
Thanks Katie for your help.
Yes, but I finally managed to solve the issue by turning off custom errors in the web.config and see what's really going on. Hopefully it might help others who have the same hosting account type as us. Ours is a Windows Ultimate (Plesk) at GoDaddy in a shared environment, installing and running plugins are no-go because dynamic compilation is blocked by default. In order to bypass it, you need to precompile all of your cshtml files, including those created when a plugin is installed which requires a re-publishing of your website. For whatever reason global.asax must be present in the root otherwise the component of the service controllers won't be found (Castle complaining here).
|
|
|
|
Rank: Member
Groups: Authorized User, HelpDesk Joined: 12/30/2020(UTC) Posts: 13
|
Katie, what card number, expire date and CVV should we use to test the payment? By the way, AC test gateway is installed. Edited by user Friday, November 18, 2022 2:11:07 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 472
Thanks: 4 times Was thanked: 34 time(s) in 33 post(s)
|
Thanks for the update and explanation. That should be very helpful for anyone else using GoDaddy hosting with Plesk.
For testing, using the AC gateway, you can pretty much use any credit card number that will pass checksum validation.
Visa - 4111111111111111 MC - 5454545454545454
Any month/yr in the future. For CVV, use any 3 digit number like 123
Have a great weekend! |
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close