Anyone Who Can Help Me Finish My Payment Gateway?


I have a custom payment gateway, everything working fine, until the client make the payment. After the client pays, cs-cart is not recordering the order.

I set up okUrl and failUrl like bellow:

“ceb” is my payment gateway.

When the payment is unsuccesfull i’m redirected to the CS-Cart Version.

Any hints?

Thank You.

P.S.: I use version 4.1.2

Suggest you look at your rendered html code. Based on your above


would resolve to


which is not what you want. You probably want to use


$current_location just defines whether http or https.

If i use [color=#282828][font=arial, verdana, tahoma, sans-serif]$current_location is trying to put [/font][/color][color=#008800][size=2]?dispatch=payment_notification.return&payment=ceb&order_id=$order_id [/size][/color][color=#282828][font=arial, verdana, tahoma, sans-serif]on the 3rd party gateway url.[/font][/color]

When i use [color=#008800][size=2]$current_location [/size][/color]the url look fine, but is showing cs-cart version…

You want to use “config.current_location”