746 Commits

Author SHA1 Message Date
Brian Krausz
4d611c62f7 Support persisted use of Stripe-Account header everywhere
Including implicit use in /v1/accounts/ endpoints
2015-02-09 23:38:34 -08:00
Akshay
b9db97c6b9 Using backslash instead of string concatenation for separating multi-line messages 2015-01-24 23:17:46 +05:30
Max Lahey
583f025c1f 1.18.0 release: Support making bitcoin charges through BitcoinReceiver source object 2015-01-21 19:29:23 -08:00
Max Lahey
9f175e070f added BitcoinTransaction 2015-01-20 11:58:43 -08:00
Max Lahey
0e9a88f796 Wired up support for BitcoinReceiver 2015-01-20 11:58:41 -08:00
John J. Wang
0db3fc1f7a Merge pull request #198 from stripe/wangjohn-file-upload-list
Adding support for listing file uploads.
2015-01-12 20:09:05 -05:00
wangjohn
ad26262a2c Adding support for listing file uploads. 2015-01-12 12:44:46 -08:00
Russell Davis
dd71f80021 Bump version to 1.17.3 2015-01-12 12:24:47 -08:00
Andrew Narkewicz
001679e809 Pass along api_key when refunding fees 2015-01-10 08:40:56 -08:00
Kyle Conroy
23aa1c8c7d Bump version to 1.17.2 2015-01-08 10:47:29 -08:00
Kyle Conroy
43d591a93e Pass along API key 2015-01-08 10:32:57 -08:00
wangjohn
8be1ad0e48 Minor version bump. 2015-01-07 11:21:55 -08:00
Andrew Narkewicz
8f93cd5fac Added deauthorize method to account for deauthorizing from stripe connect application 2014-12-26 09:10:23 -07:00
wangjohn
ef249b7ceb Create the file upload api resource (+ bump version) 2014-12-22 18:04:53 -08:00
wangjohn
62e110a33e Bumping version to 1.16.1 2014-12-19 18:03:44 -08:00
wangjohn
6990bbd798 Include stripe account parameter for setting header. 2014-12-19 11:27:12 -08:00
Kyle Conroy
e3a68bb3b9 Replace api_key with an options hash
For now, only two options are supported: `api_key` and
`idempotency_key`. In the future, we'll be adding support for additional
headers as needed.
2014-12-17 23:23:46 -08:00
Shale Craig
7c6c8269c6 Add ability to specify custom headers for list_object.create 2014-12-16 15:46:08 -08:00
Shale Craig
fd104697f3 Add ability to specify custom headers for application_fee.refund 2014-12-16 15:44:57 -08:00
Shale Craig
4bef41192a Add the ability to use an api_key for application_fee.refund 2014-12-16 15:43:16 -08:00
Kyle Conroy
bfaaae9336 Add per-request headers 2014-12-15 16:11:45 -08:00
Michael Manapat
f3c0766a0d Add fraud reporting methods 2014-12-11 20:33:50 -08:00
Russell Davis
99cb861dbd Merge pull request #172 from westonplatter/rename-internal-var
rename internal variable. rename `new` to `new_hash` so it's not a keyword
2014-11-14 14:31:20 -08:00
Weston Platter
c060ce63f0 rename internal variable. rename new to new_hash so it's not a Ruby keyword 2014-11-02 21:17:08 -07:00
Weston Platter
7810d888c1 formatting. alphabetize key-values by keys and add comments. 2014-11-02 20:29:13 -07:00
Weston Platter
30b0e4156a formatting. remove () from methods that don't have arguments 2014-11-02 20:28:43 -07:00
Russell Davis
7aee297980 Merge pull request #157 from timcraft/return-self
Return self from Stripe::StripeObject#refresh_from
2014-10-30 16:44:21 -07:00
Greg Sabo
ed873459b7 Bump version to 1.16.0 2014-10-08 14:17:09 -07:00
Tim Craft
0fc6ee5e5b Return self from Stripe::StripeObject#refresh_from 2014-08-22 19:43:13 +01:00
Greg Sabo
a596138526 Make coupons update-able. 2014-08-19 16:24:44 -07:00
Russell Davis
f7467728d7 Better error message for ServerBrokeConnection exception 2014-08-18 15:05:16 -07:00
Cosmin Nicolaescu
4aed61af42 v1.15.0 2014-07-29 20:13:56 -07:00
Cosmin Nicolaescu
d3dfa18990 make ApplicationFee.refunds a list object instead of array 2014-07-28 23:28:24 -07:00
Amber Feng
8bb6acfca9 Merge pull request #122 from mcolyer/fix-psych-deserialization
Check for `@values` in StripeObject#method_not_found.

This is necessary because we check for `@values` in `respond_to_missing?` now, but this isn't necessarily always set. For example, in deserializing from YAML, Psych creates the object using `allocate` and not `new`, which ends up skipping any initializing of instance variables. See #122 for more details.
2014-07-08 21:52:05 -07:00
Vladimir Andrijevik
238e071232 Merge remote-tracking branch 'stripe/master' into nested-to-hash 2014-06-30 12:45:40 +02:00
Kyle Conroy
bb9388384f Bump to version 1.14.0 2014-06-17 17:35:47 -07:00
Kyle Conroy
e59a494215 Add support for refund resource 2014-06-16 17:13:57 -07:00
Kyle Conroy
0695960fc7 Don't check blacklist if SSL verification is off
It's helpful to be able to test the bindings with instances of the
Stripe API running locally, or running on a server that doesn't support
SSL. When :verify_ssl_certs is false, don't check the SSL cert against
the blacklist, as there probably isn't a certificate to check.
2014-06-05 15:49:26 -07:00
Stephen Wan
79cdeb0545 Bump Version 2014-05-28 16:11:40 -07:00
Stephen Wan
f13a050935 Added support for transfer cancelation 2014-05-26 11:30:20 -07:00
Amber Feng
56176b2539 Bump version. 2014-05-21 16:52:13 -07:00
Amber Feng
51af58c947 This needs to be a respond_to? instead. 2014-05-21 11:43:12 -07:00
Amber Feng
bc43fff551 Construct the recipient card URL if the recipient property exists. 2014-05-21 10:49:38 -07:00
Richo Healey
48f76057f4 Document our approach to SSL preflighting 2014-04-10 12:44:16 -07:00
Richo Healey
e6850316f7 Bump version 2014-04-09 20:57:37 -07:00
Richo Healey
67f90ec108 Verify the fingerprint on api.stripe.com before making any requests 2014-04-09 19:57:45 -07:00
Andy Brody
6944e4e97f Update CA certificates bundle to 20130906.
http://www.ubuntu.com/usn/usn-2154-1/
https://gist.github.com/ab/9756531
2014-03-25 00:24:05 -07:00
Andy Brody
5c166e09c2 Sort the CA bundle in preparation for updating it. 2014-03-24 23:18:41 -07:00
Vladimir Andrijevik
5502c58162 Merge remote-tracking branch 'origin/master' into nested-to-hash 2014-03-18 11:10:14 +01:00
Matt Colyer
974f5ce425 Check for @values in StripeObject#method_not_found
If a StripeObject is being deserialized by psych, @values.has_key? is
called before @values is initialized which prevents proper
deserialization from occurring. Checking for existence first resolves
the issue.
2014-02-24 14:16:21 -08:00