You have no items in your shopping cart.

Saturday, April 27, 2024 2:21:28 AM

Not loading any payment methods

Posted: 6 years ago

#6754 Quote

nlun

Posted: 6 years ago

#6754 Quote
Hi!

Im having a problem with your plugin SimpleCheckout for NopCommerce 3.9.
After I've installed and enabled the plugin the /simplecheckout loads fine. But it doesnt give me the option to choose any payment method. When i debug "SimpleCheckout.cshtml" I find that payment methods will only load if Model.isPaymentWorkflowRequired is true wich it never is. Ive enabled several different payment methods wich all shows up in Nops one page checkout so i know theyre enabled. I can also see in if (Model.DisplayRewardPoints && Model.PaymentMethods.Count > 0) , wich is in the first if, that Model.PaymentMethods.Count always is 0. Do you got any insights in this problem?

Posted: 6 years ago

#6755 Quote

nlun

Posted: 6 years ago

#6755 Quote
Update.. It IS possible for me to select payment method, but only if i'm not logged in. It feels like im missing something very obvious..

Posted: 6 years ago

#6756 Quote

Support

Posted: 6 years ago

#6756 Quote
Can you disable plugin on plugin configure page and check if you see payment method list?
Plugin uses native nopcommerce logic for getting payment method list.

Posted: 6 years ago

#6757 Quote

nlun

Posted: 6 years ago

#6757 Quote
Yes, I can see all the payment methods when disabling SimpleCheckout. But i just figured it out. This happened when updating a site from NopCommerce 3.8 to 3.9. When installing the SimpleCheckout plugin for 3.9 none of the payment methods were visible. But when i logged out from the admin user and tried other users or when i was logged out, I could see the payment methods. I ended up deleting the admin user from the database and created a new user with admin privileges. I then logged in with that user and the payment methods was now visible. I have no idea why this happened but it works fine now. Could be helpful to others maybe that this may happen when upgrading from 3.8 to 3.9 with existing admin users from 3.8 db.

Posted: 6 years ago

#6758 Quote

Support

Posted: 6 years ago

#6758 Quote
Nop 3.90 has ACL for payment method (plugins). Maybe you use this feature...

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved