thephpleague / omnipay-buckaroo

Buckaroo driver for the Omnipay PHP payment processing library
MIT License
13 stars 30 forks source link

Buckaroo Global #2

Closed raymondidema closed 9 years ago

raymondidema commented 10 years ago

Now you'll only need to add paymentMethod to the purchase.

$gateway->purchase(['paymentMethod' => 'bancontactmrcash']);

Available methods:

 bancontactmrcash,
 ideal,
 visa,
 mastercard,
 transfer,
 americanexpress,
 giropay,
 sofortuberweisung
amacneil commented 10 years ago

Thanks. This is a good idea and solution to #1. However I want to standardise the name of this parameter across the other European gateways which all work in a similar way (Multisafepay, Icepay, Targetpay). I also think we need to implement a fetchPaymentMethods() parameter (or similar) to return a list of suggested payment methods.

raymondidema commented 10 years ago

That would be great feature so we can switch easily just by setting a parameter.

i temporary using this:

"repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/raymondidema/buckaroo"
        }
    ],

to make it workable for me :-)

amacneil commented 10 years ago

See the work happening in https://github.com/omnipay/mollie/pull/5 which will standardise the paymentMethod parameter across all Omnipay gateways.

raymondidema commented 10 years ago

Okay, gonna take a look at it.