Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Custom Payment Gateway with CallBack View modes: 
User avatar
Member
Member
ssp - 12/10/2011 6:12:16 PM
   
Custom Payment Gateway with CallBack
Hello,

I am trying to implement a customer payment gateway which has a callback mechanism to call a pre-configured url on my side to let me know of the payment success or failure.

Using the override method for ProcessPayment I am able to redirect to the vendors payment handling pages.

The question is how do I handle the callback? Is there any other method which I can override and elegantly let the customer know of payment success (or otherwise) and perhaps a thank you note?

The Payment results guide isn't very helpful, as it doesn't discuss callback type of method at all.

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 12/12/2011 8:02:20 AM
   
RE:Custom Payment Gateway with CallBack
Hello,

You can check how we are handling the updating of the order in our PayPal gateway. The code of the following file is executed after a payment is processed by this gateway:

\CMSModules\Ecommerce\CMSPages\PayPalIPN.aspx.cs

Best regards,
Boris Pocatko