ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Expresso Store 1.6 custom payment gateway problem

March 11, 2014 5:53am

Subscribe [1]
  • #1 / Mar 11, 2014 5:53am

    Dovla

    36 posts

    I’ve sent out a support ticket to Expresso Store and haven’t gotten a reply in 6 days. I’ve opened up a thread on stackexchange and also not much luck. I’ll paste the entire topic here as I’m really desperate to get any sort of help on this issue:

    We’re trying to write our own payment gateway plugin for store, using version 1.6.5

    The payment gateway in question is the Croatian Webteh form (off-site) and we’re having an issue with the landing page after the card gets processed on their server and the order payment status info gets sent back.

    Webteh gives us the following parameters in GET after a succesful payment:

    ?approval_code=938745&authent; ication=&cc_type=master&currency=HRK&custom;_params=&digest=9b345418cb4dd64a23f7459230079ba82d6e6331&enrollment=N&language=hr&order_number=24&response_code=0000

    Where exactly (route) does store handle returns from the payment gateway? Webteh has a fixed url in their administration panel where it redirects successful payments - what should we redirect to? Our webshop is set up at http://www.example.com/webshop/. Should it be /webshop/checkout3?

    We can’t seem to figure out where purchase_return method is called.

    I found out that the url which is supposed to trigger payment return processing is something like this: site.com/?ACT=43&H=7d766c24e353d0978e1a0ea8ca7eaeb7 ACT number 43 in database is: class - Store method - act_payment_return So - that url will trigger action and load merchant.php that loads payment gateway ‘drivers’. Problem is, var_dumping $driver variable when Merchant instantiates returns nothing. Default settings are fine, but my merchant_webteh_form plugin never loads method purchase_return, so nothing really happens.

    Only thing that shows up on the screen when opening that url is ‘TEST’ (no html whatsoever, just string TEST). Tried toggling test-mode everywhere, same output. Then tried to find die(“TEST”) or echo “TEST”; die;, but ack returned nothing that would output such string. I might be wrong here, but tried ack and netbeans search, came up with nothing.

    Thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases