braintree / braintree_ruby

Braintree Ruby library
https://developer.paypal.com/braintree/docs/start/overview
MIT License
446 stars 195 forks source link

Add customer_id to Subscription fields #221

Closed key88sf closed 3 years ago

key88sf commented 3 years ago

General information

Issue description

Please add the customer_id field to the top level fields on the Subscription object.

crookedneighbor commented 3 years ago

You can use the payment method find method with the payment method token param to get the object representing the underlying payment method for the subscription. That includes the customer id.

If you'd still like the customer id on the top level of the Subscription object, please pass along that feature request to our support team. https://developer.paypal.com/braintree/help

key88sf commented 3 years ago

Yes, I would like that at the top level. I'll try contacting the support team (though I think that will not go anywhere, but we'll see).