Payment Plugin Development / Payment Method not visible on OnePageCheckout

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hi there,

Im developing a payment plugin.
I have the problem that my plugin is correctly found under local plugins but when i go to the checkout, the store is not offering the new Payment Option.
What could be the reason for that?

Also what i noticed:
when i install/deinstall the plugin it works but i need to restart the webserver or recycle the pool to see the changes! Why is that?

I followed the official 3.9 Payment Plugin Development Documentation Guide so this is what i did:

- Created a Processor class derived from BasePlugin and IPaymentMethod
- Added Description.txt and Images
- Added Web.config
- Created a Controller derived from BasePaymentController
- Added the Views and the Model
- Checked the Country Restriction so nothing is checked
- Changed the HidePayment override so it always returns false


Thanks in advice, im currently buying the premium support but it will take some days so i thought i could save some time by posting my question now to the public boards
6 years ago
xzess wrote:
Hi there,

Im developing a payment plugin.
I have the problem that my plugin is correctly found under local plugins but when i go to the checkout, the store is not offering the new Payment Option.
What could be the reason for that?

Also what i noticed:
when i install/deinstall the plugin it works but i need to restart the webserver or recycle the pool to see the changes! Why is that?

I followed the official 3.9 Payment Plugin Development Documentation Guide so this is what i did:

- Created a Processor class derived from BasePlugin and IPaymentMethod
- Added Description.txt and Images
- Added Web.config
- Created a Controller derived from BasePaymentController
- Added the Views and the Model
- Checked the Country Restriction so nothing is checked
- Changed the HidePayment override so it always returns false


Thanks in advice, im currently buying the premium support but it will take some days so i thought i could save some time by posting my question now to the public boards


Make sure this plugin is Active.

//Sohel
6 years ago
Hi thanks for the quick reply!

The Plugin is active of course :)
6 years ago
xzess wrote:
Hi thanks for the quick reply!

The Plugin is active of course :)


If you want you can share the plugin with me and will check your code.
6 years ago
sohel wrote:
Hi thanks for the quick reply!

The Plugin is active of course :)

If you want you can share the plugin with me and will check your code.


hi there, thank you for your offer!
unfortunately this is not possible.
I just followed the guide so its nothing special.

Are there other reasons why it could not been shown on the checkout page?
Why is the install/deinstall not working as expected so i have to recycle the app pool all the time.

When i visit the payment method page, everything is visible and obviously correct


Thank you very much in advice
6 years ago
Ok i found an error in the error log which seems to be a problem.
Can anybody tell me why its trying to connect to 127.0.0.1:8005 ?
Did i miss something here?

System.Net.WebException: Die Verbindung mit dem Remoteserver kann nicht hergestellt werden. ---> System.Net.Sockets.SocketException: Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte 127.0.0.1:8005 bei System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) bei System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- Ende der internen Ausnahmestapelüberwachung --- bei System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) bei System.Net.HttpWebRequest.GetRequestStream() bei Nop.Services.Catalog.StockAvailabilityChecker.GetInventoryStockResponse(HttpWebRequest request, InventoryStockRequestModel payload) in C:\xxx\xxx\NopCommerce\Libraries\Nop.Services\Catalog\StockAvailabilityChecker.cs:Zeile 91. bei Nop.Services.Catalog.StockAvailabilityChecker.AreAllItemsAvailable(IList`1 shoppingCartItems) in C:\xxx\xxx\NopCommerce\Libraries\Nop.Services\Catalog\StockAvailabilityChecker.cs:Zeile 65. bei Nop.Web.Controllers.CheckoutController.AreAllItemsAvailable(List`1 items) in C:\xxx\xxx\NopCommerce\Presentation\Nop.Web\Controllers\CheckoutController.cs:Zeile 2045. bei Nop.Web.Controllers.CheckoutController.Selection(Boolean back) in C:\xxx\xxx\NopCommerce\Presentation\Nop.Web\Controllers\CheckoutController.cs:Zeile 1151.
6 years ago
When i click on install, i have this:

Type is not resolved for member 'System.Diagnostics.Activity,System.Diagnostics.DiagnosticSource, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

any ideas?
6 years ago
RE: ... Nop.Services.Catalog.StockAvailabilityChecker.GetInventoryStockResponse(HttpWebRequest request, InventoryStockRequestModel payload)

You seem to have some customization
6 years ago
Ok its now visible, i guess i had a wrong web.config as i replaced the current web.config with the one from Authorize Plugin by NopCommerce Team and now it seems to work.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.