Jump to content

How To Use $This->Meta When Call From Plugin To Gateway


Recommended Posts

Posted

Hi all,

 

Currently, I use a method in plugin to call capture method in gateway. In capture method, i want to use $this->meta to call settings of gateway. But when i use it, it's not work, it return null value.

 

So, how can i do that?

 

Thanks, 

Posted

Gateway properties need to be set. This includes a "meta" property. So you should set the meta data to the gateway from wherever you instantiate the gateway. Look at /components/gateway_payments/gateway_payments.php for an example in initGateway.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...