Installation and deployment
Version 7.x > Installation and deployment > Custom Payment Gateways without new assembly View modes: 
User avatar
Member
Member
bryanallott - 1/29/2013 7:33:46 AM
   
Custom Payment Gateways without new assembly
Refer this article:

http://devnet.kentico.com/Knowledge-Base/E-commerce/--A-custom-payment-gateway-without-a-new-assembly.aspx

which is for 5.5. In version 7, how does this article change?

I'm attempting a custom gateway (the application is built for Azure so it's all one app) and the form is developed, and all the config is set as per documentation- i've also primed my shoppingcart by setting the shippingpaymentoptionid (there's only one payment option in my case available on the site) but the paymentgatewayprovider property is always null and thus always skipping the payment page in the process?

The instructions for 5.5 don't seem to apply to version 7...

User avatar
Member
Member
bryanallott - 1/29/2013 8:36:19 AM
   
RE:Custom Payment Gateways without new assembly
.. priming the PaymentGateway in the shopping cart, ala:

CMSPaymentGatewayProvider.GetPaymentGatewayProvider(ShoppingCart.ShoppingCartPaymentOptionID);

always returns null.

And the PaymentMethod is assigned to the site and the shipping options all have the payment method assigned in the e-commerce configuration.

User avatar
Member
Member
bryanallott - 1/29/2013 9:47:05 AM
   
RE:Custom Payment Gateways without new assembly
Ok. Figured it out. There are just a lot of similar names in the configuration [between the loader, the class, the form, the webservice helper I'm using etc..] and it was a question of getting those absolutely right :)