academe / Omnipay-Wirecard

Wirecard payment gateway driver for the Omnipay
GNU Lesser General Public License v3.0
1 stars 0 forks source link

Support custom fields #5

Open judgej opened 7 years ago

judgej commented 7 years ago

This is a collection of name/value pairs. Possibly a set/get method to handle the whole array. Some other way to handle individual fields to add to the collection would be good.

Conceptually, a magic getter/setter would catch any fields not caught by the core parameters, and get/set them as custom parameters. That may fight some of Omnpay's approaches, but it's the way the gateway expects to work.