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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...