lyang / braintree-rails

MIT License
65 stars 22 forks source link

Add PaymentMethod model #31

Open NuckChorris opened 8 years ago

NuckChorris commented 8 years ago

Since Braintree has added the ability to use bank accounts for European customers, they've deprecated the CreditCard model in favor of a more source-agnostic PaymentMethod model.

This gem should probably be updated to reflect that

lyang commented 8 years ago

Hi, @NuckChorris Seems it's still in limited beta, and APIs are subject to change. Will add it once it's GA.

Thanks!

NuckChorris commented 8 years ago

SEPA is in beta, but the move from CreditCard to PaymentMethod is done and should probably be mirrored here

lyang commented 8 years ago

Good point, will look into it once I got some cycles.

Thanks @NuckChorris !

NuckChorris commented 8 years ago

Just noticed that according to the docs this also applies to Apple Pay, Android Pay, and PayPal. Strangely it doesn't seem that they share many properties, simply that they share a common keyspace

waleedasif322 commented 8 years ago

Is anyone already working on this? If not, I might give it a shot, let me know.

NickMele commented 8 years ago

@waleedasif322, let me know if you have decided to go for it.

knutigro commented 8 years ago

Go :+1: I am no Ruby expert so I willl leave it for someone else, but I would very much appreciate if someone else would make this up to date with current Braintree docs.

spike886 commented 7 years ago

any news about it?