Discover cards on Braintree Gateway

17 views
Skip to first unread message

Kevin Beck

unread,
Jun 20, 2008, 2:08:20 AM6/20/08
to Active Merchant
I don't see that Discover card is supported in the ActiveMerchant
BraintreeGateway but Braintree's payment processing API does not
require a card type, the card is inferred from the card number. I was
wondering if anyone knows what it would take to get that added.

Thanks,

Kevin Beck

Josh Schairbaum

unread,
Jun 20, 2008, 9:21:56 AM6/20/08
to activem...@googlegroups.com
Kevin,

In glancing through the source of ActiveMerchant, I think the only
thing you'll need to do is to add :discover to the supported_cardtypes
in braintree.rb. Also, make sure that your merchant account is setup
to handle Discover cards at Braintree. If you have any trouble,
contact me directly at deve...@getbraintree.com.

Regards,
Josh

Cody Fauser

unread,
Jun 20, 2008, 11:17:01 AM6/20/08
to activem...@googlegroups.com
I just added :discover to the list of supported card types.
http://github.com/Shopify/active_merchant/commit/4d5bc8f895785cb9d2a8afe595a89820bb30848f

--
Cody Fauser
http://shopify.com - e-commerce done right
http://www.codyfauser.com - blog
http://peepcode.com/products/activemerchant-pdf - ActiveMerchant PeepCode
http://www.oreilly.com/catalog/rjsrails - RJS Templates for Rails

Kevin Beck

unread,
Jun 20, 2008, 4:55:40 PM6/20/08
to Active Merchant
Awesome! Thanks Cody.

On Jun 20, 8:17 am, "Cody Fauser" <codyfau...@gmail.com> wrote:
> I just added :discover to the list of supported card types.http://github.com/Shopify/active_merchant/commit/4d5bc8f895785cb9d2a8...
Reply all
Reply to author
Forward
0 new messages