Custom Payment Gateway

Yehuda Lando asked on September 18, 2014 02:34

Hi,

I'm trying to develop my own custom gateway, but in the ProcessPayment method the ShoppingCartInfoObj is null and so is the Order ID. Any idea why is this happening?

Thanks

Recent Answers


Ivana Liptakova answered on September 18, 2014 15:01

Hi,

you did not specify on which version of Kentico you are developing you custom payment gateway.

A custom payment gataway example for 8.1 version is available on Creating custom payment gateway. The ShoppingCartInfoObj is crated from:

  1. orderID, only if orderID (is not available). If you are using 8.0 Payment form web part in your checkout process, it will be - see the code of PaymentForm.ascx.cx.

  2. ShoppingCart object. It is initiated in 7.0 checkout process).

Best regards,

Ivana Tomanickova, Developer

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.