Maksymilian Lewicki
89088bee4e
Update endpoints in coverage section in README ( #132 )
2020-01-06 17:21:21 +03:00
Eric Lee
5822d5ee58
Print error details in addition to message and http code ( #131 )
...
* Print error details in addition to message and http code
* %v -> %+v
2019-12-16 16:34:48 -08:00
Eric Lee
16c52d39ba
Update item struct to match paypal model ( #129 )
...
* Update item struct to match paypal model
* test
2019-11-20 22:12:36 -08:00
Eric Lee
5feda2cf5e
Update payment capture response type to include links ( #128 )
2019-11-18 14:44:42 -08:00
chaseadams509
a6e6c7ae98
Add partner overrides to referral request ( #124 )
...
* Add partner overrides to referral request
Add this object:
https://developer.paypal.com/docs/api/partner-referrals/v2/#definition-partner_configuration_override
* Update types.go
2019-10-11 11:54:25 -07:00
chaseadams509
bffc96851f
Add types to support Partner Referral API ( #123 )
...
* Add types to support Partner Referral API
Add in the type structs to allow a POST call to v2/customer/partner-referrals
It sends a ReferralRequest, and returns a response of type Resource with only Links populated
https://developer.paypal.com/docs/api/partner-referrals/v2/
* Pointer for optional field
* Update types.go
Co-Authored-By: Roopak Venkatakrishnan <roopak.v@gmail.com>
2019-10-10 14:36:25 -07:00
chaseadams509
c865af7932
Add Webhook data types ( #120 )
...
* Add Webhook data types
Add the Event data types for payment capture and merchant onboarding events, which are sent for PayPal Commerce Platform integrations.
* remove unnecessary empty line
* name change and points for omitempty objects
* Update types.go
Co-Authored-By: Roopak Venkatakrishnan <roopak.v@gmail.com>
2019-09-25 13:44:33 -07:00
Eric Lee
c4226ce43c
Fix authorizations ( #119 )
...
Fix authorizations
2019-09-24 12:34:56 -07:00
Roopak Venkatakrishnan
06a298ef76
Reset after reading ( #118 )
2019-09-24 07:51:55 -07:00
Roopak Venkatakrishnan
cd72fd3aec
Add verify webhook signature response ( #117 )
2019-09-19 08:03:42 -07:00
Alex Pliutau
8e3811377b
Merge pull request #115 from plutov/roopakv/fix_auth_capture
...
Fix payment capture API
2019-09-07 10:01:39 +02:00
Roopak Venkatakrishnan
fee7108fae
Fix payment capture
2019-09-06 08:00:21 -07:00
Alvaro Carvajal
c0ae3c0d06
Add custom_id to captured orders ( #114 )
2019-09-03 13:39:22 -07:00
Roopak Venkatakrishnan
32920d672b
Example for go modules in Readme ( #111 )
2019-08-27 09:09:46 -07:00
Roopak Venkatakrishnan
dc6329e927
Use v3 in tests to prevent indirect dependencies ( #112 )
2019-08-27 09:09:30 -07:00
Roopak Venkatakrishnan
b200e0a324
Go Modules support ( #110 )
...
* Go Modules support
* move into same package
* Update billing_test.go
* Revert example_test.go and remove billing_test.go
* Keep 1.11 and 1.12 in travis
2019-08-27 12:38:42 +02:00
Alex Pliutau
55f369d8c8
Fix billing_test.go
2019-08-21 15:53:29 +02:00
Alex Pliutau
e70e544c1a
Update package name
2019-08-21 15:50:20 +02:00
Alex Pliutau
f7f8c60772
Remove sourcegraph button
2019-08-21 13:19:25 +02:00
Alex Pliutau
035df40512
Fix go lint
2019-08-21 13:16:54 +02:00
Alex Pliutau
6f5da20f7c
Change import path to github.com/plutov/PayPal-Go-SDK
2019-08-21 13:11:13 +02:00
Alex Pliutau
1ac6304458
Merge pull request #107 from roopakv/roopakv/fix_authorize
...
Add more type definitions & fix capture order
2019-08-21 09:39:18 +02:00
Roopak Venkatakrishnan
167f2d58ab
Add more type definitions
2019-08-20 23:24:18 -07:00
Alex Pliutau
fb6ff6be3d
Fix go rerpotr card issues
2019-08-19 15:33:46 +02:00
Alex Pliutau
61f8ec387c
#105 : Add override_merchant_preferences to BillingAgreement
2019-08-12 16:09:45 +02:00
Alex Pliutau
458e08c529
Merge pull request #104 from chriskolenko/master
...
Add fields to ApplicationContext
2019-08-06 17:39:02 +02:00
Chris Kolenko
188f7c26fc
Add fields to ApplicationContext
...
* ReturnURL
* CancelURL
2019-08-07 01:28:11 +10:00
Alex Pliutau
ce57fa2d8b
Merge pull request #103 from dennisstritzke/master
...
Adding item category and shipping preference.
2019-08-05 16:19:08 +02:00
Dennis Stritzke
cce5baf4a0
Adding item category and shipping preference.
2019-08-05 16:12:34 +02:00
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