Commit Graph

271 Commits

Author SHA1 Message Date
Alex Pliutau
37b06bc520
Merge pull request #101 from dennisstritzke/master
Adding support for PayPal Order to contain Items
2019-08-02 12:54:44 +02:00
Dennis Stritzke
04ab7f83a0 Adding support for PayPal Order to contain the order breakdown and Items to contain UnitAmounts. 2019-08-02 12:17:49 +02:00
Alex Pliutau
224bd1f949 #89: Add UpdateOrder 2019-07-30 15:12:58 +02:00
Alex Pliutau
637e1c4b15 Add contributors 2019-07-22 15:03:15 +02:00
Alex Pliutau
aeec25d551 Add contributors 2019-07-22 15:02:18 +02:00
Alex Pliutau
fd64790cd2
Merge pull request #100 from roopakv/roopakv/update_co
Use create order payer for create order
2019-07-22 14:56:14 +02:00
Alex Pliutau
0862ea5ecc
Merge pull request #90 from logpacker/payment-source
#89: V2: Add payment-source type
2019-07-22 14:56:01 +02:00
Roopak Venkatakrishnan
1daa788741
Use create order payer 2019-07-22 00:23:07 -07:00
Alex Pliutau
586d690e8e
Merge pull request #99 from roopakv/roopakv/fix_address
Update shipping address to reflect paypal API
2019-07-22 09:03:44 +02:00
Roopak Venkatakrishnan
ed0c8f85a0
fix payer for orders 2019-07-21 18:29:26 -07:00
Roopak Venkatakrishnan
80ccf89d37
Update shipping address to reflect paypal API 2019-07-21 12:46:13 -07:00
Alex Pliutau
6891f8d2f0 Improve integratin tests 2019-07-21 09:49:15 +02:00
Alex Pliutau
3f993bc542 Add payment-source type 2019-07-21 09:28:07 +02:00
Alex Pliutau
da794934b8
Merge pull request #96 from roopakv/roopakv/fix_app_ctxt
Fix app context
2019-07-19 08:54:22 +02:00
Roopak Venkatakrishnan
265abe72b2
Fix app context 2019-07-18 22:21:31 -07:00
Alex Pliutau
888360be1f
Merge pull request #93 from roopakv/roopakv/tiny_fix
[Tiny fix] Create Order
2019-06-29 10:24:53 +02:00
Roopak Venkatakrishnan
e6cc18e840
Merge branch 'master' into roopakv/tiny_fix 2019-06-28 21:01:15 -07:00
Roopak Venkatakrishnan
a329399695 more fixes 2019-06-28 21:00:29 -07:00
Roopak Venkatakrishnan
da7d8507ff [Tiny fix] Create Order 2019-06-28 19:08:24 -07:00
Alex Pliutau
42de9cae2e
Merge pull request #92 from roopakv/roopakv/use_correct_payee
Use correct payee for PurchaseUnitRequest
2019-06-28 09:05:17 +02:00
Roopak Venkatakrishnan
f51b1fe7a0 fixes 2019-06-27 11:39:07 -07:00
Roopak Venkatakrishnan
dd82be9889 use specific payee 2019-06-27 10:55:21 -07:00
Alex Pliutau
973f502217
Merge pull request #91 from roopakv/roopakv/create_order
Create Order API Call
2019-06-27 08:54:10 +02:00
Roopak Venkatakrishnan
c85effd4a6 Add to readme 2019-06-26 21:22:30 -07:00
Roopak Venkatakrishnan
fd873cc35b Create Order API Call 2019-06-26 21:16:21 -07:00
Alex Pliutau
ebc7df5708
Merge pull request #87 from danielmltn/master
code style efficiencies added
2019-06-17 13:53:31 +02:00
Daniel Melton
cc05027dd1 revert of time.Until which fails on 1.5,1.6, & 1.7 2019-06-17 07:39:03 -04:00
Daniel Melton
2c6b470ed7 code style efficiencies added 2019-06-15 22:39:08 -04:00
Alex Pliutau
17ba889ca0
Merge pull request #84 from tungquach/master
Update order api endpoints, remove unsupported order do void api
2019-04-22 20:58:05 +02:00
tungquach
561690178b update order struct, add purchase units 2019-04-21 11:43:53 +07:00
tungquach
4557d3e5a7 update order struct 2019-04-21 10:44:07 +07:00
tungquach
3adfc8c315 update order intergration test 2019-04-21 10:13:01 +07:00
tungquach
1f766901f9 Update order api endpoints 2019-04-21 10:08:48 +07:00
Alex Pliutau
0c3090ecb8 Update year in LICENSE.md 2019-03-27 18:13:18 +01:00
Alex Pliutau
4d9251997c Payments V2 2019-03-27 09:27:53 +01:00
Alex Pliutau
5af7837061 Add v1/v2 note 2019-03-26 15:39:18 +01:00
Alex Pliutau
114f3ab4be
Merge pull request #77 from apourchet/apourchet/fix-race-sendwithauth
Locking SendWithAuth to fix race condition
2019-03-01 10:49:21 +01:00
Alex Pliutau
6f2ea3a580
Merge pull request #80 from CodeLingoBot/rewrite
Fix function comments based on best practices from Effective Go
2019-03-01 10:48:30 +01:00
Antoine Pourchet
4303b79440 Added comments for clarity 2019-02-28 20:17:03 -08:00
CodeLingo Bot
560c513235 Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
2019-02-28 21:52:50 +00:00
Antoine Pourchet
bb976e776e Locking SendWithAuth to fix race condition
When SendWithAuth gets called in a multithreaded environment on the
same Client object, a concurrent read and write of c.Token might happen
in GetAccessToken.
This patch solves the issue by locking the client while we get a new
access token in SendWithAuth.
2019-02-26 23:26:37 -08:00
Alex Pliutau
7a8d9e5531
Merge pull request #75 from meitarim/master
added ListBillingPlans
2019-01-14 10:17:11 +01:00
meitar
c23e130afd added ListBillingPlans 2019-01-14 07:06:05 +02:00
Alex Pliutau
3896aaa167
Merge pull request #73 from lindroth/master
added GetPaymentsWithFilter and Filter to list filtered payments
2018-12-16 14:07:16 +01:00
Alex Pliutau
e31da31dcc
Merge pull request #70 from cristaloleg/master
Get rid of escape characters
2018-12-16 14:04:53 +01:00
Alex Pliutau
9c283e9d42 #69: add payment response 2018-12-16 13:26:41 +01:00
Alex Pliutau
f17191367d Fix UTs 2018-12-16 13:24:11 +01:00
Alex Pliutau
2eacad2d5d #71 Quantity field of Item struct type must change from string to uint32 type 2018-12-16 13:06:54 +01:00
Rickard Lindroth
d5a45e7e9a
Update README.md
wrong parameter name for listing payments
2018-12-10 14:18:00 +01:00
Rickard Lindroth
36f64e9a3b added GetPaymentsWithFilter and Filter to list filtered payments 2018-12-10 12:54:15 +01:00