Thomas Frössman
bbd66c6089
remove invalid event structs
2021-04-29 22:11:13 +02:00
Alex Pliutau
41099f6b6e
fix typo in PaymentInstruction
2021-04-10 18:17:20 +02:00
Alex Pliutau
ed294ef317
#160 : add PAY_NOW user action
2021-04-10 18:16:14 +02:00
Alex Pliutau
d90cb75e47
#163 : payment_instruction on the purchase_unit_request
2021-04-10 18:13:45 +02:00
Alex Pliutau
62598e5880
#188 : GetCapturedPaymentDetails
2021-04-10 18:09:05 +02:00
Alex Pliutau
52acc61786
#192 : refactor Event type
2021-04-10 17:56:52 +02:00
Alex Pliutau
1e23f8dd7d
return examples
2021-04-10 17:49:27 +02:00
Alex Pliutau
36281c1526
Merge pull request #196 from erkin97/fix-omitempty
...
Fix omitempty struct tag on Product.Description
2021-04-10 17:41:09 +02:00
Alex Pliutau
0a85944fee
Merge pull request #194 from Yuusuke8686/fix_#188
...
Add capture detail interface
2021-04-10 17:40:44 +02:00
Erkin Matkaziev
f694e414cd
Fix omitempty struct tag on Product.Description
2021-02-19 19:28:59 +09:00
Yuusuke
a3c2eaa0d4
add capture detail interface
2021-02-07 00:56:29 +09:00
Yash Suresh Chandra
a5cff3c18c
idempotent create order api ( #191 )
2021-01-25 12:52:19 -08:00
Alex Pliutau
df9918548b
update readme
2021-01-20 10:30:37 +01:00
Alex Pliutau
f807b7d046
Merge pull request #190 from thomasf/context
...
add context
2021-01-20 10:27:33 +01:00
Thomas Frössman
3b835ea26a
deprecate a few inconsistently named things and but keep aliases.
2021-01-20 09:31:54 +01:00
Thomas Frössman
e83fd911e0
add GetWebhookEventTypes
2021-01-03 21:20:12 +01:00
Thomas Frössman
cc8b3cee69
add context support
2021-01-03 10:49:14 +01:00
Dimas Ragil T
0f9d1cca16
Add Revise Subscription ( #187 )
...
* Add function revise subscription
* Update README add revise subscription
2020-12-16 10:40:27 +01:00
方航
98cae62470
fix param error while query transactions of subscriptions ( #186 )
...
url needs start_time and end_time, and both fields remove timezome
2020-11-28 09:56:24 +01:00
方航
ef386ff32f
fix param error ( #185 )
...
fix param error
2020-11-26 13:35:49 +01:00
jrapoport
476102bb76
Order should include payments & purchase_units ( #179 )
...
* Order should include purchase_units
* PayerWithNameAndPhone needs Address for Order
* add SellerProtection to CaptureAmount
* add RecipientType(s)
* add RecipientType(s)
* BatchHeader.BatchStatus values
2020-11-17 10:59:42 +01:00
Jason Hord
13112c66e5
Adds SellerReceivableBreakdown and CustomID fields to the Resource type ( #180 )
...
* Adds SellerReceivableBreakdown and CustomID fields to the Resource type
* Adds EventCheckoutOrderApproved constant and Intent, PurchaseUnits, Payer fields to Resource type
2020-11-17 10:59:19 +01:00
Jason Hord
5508bfebaf
Adds EventCheckoutOrderApproved constant and Intent, PurchaseUnits, Payer fields to Resource type ( #181 )
2020-11-17 10:59:02 +01:00
Jason Hord
ced90e676f
Adds a CustomID field to the SubscriptionBase struct ( #182 )
2020-11-17 10:58:44 +01:00
Jason Hord
abd51d2823
Changes omitempty tagging on Product struct to match Paypal API requirements ( #183 )
2020-11-17 10:58:07 +01:00
yunuseskisan
d1e5575c35
Add support for SellerReceivableBreakdown ( #178 )
...
* Add support for SellerReceivableBreakdown
https://developer.paypal.com/docs/api/orders/v2/#orders_capture
* Update types.go
* Update types.go
2020-10-23 09:52:58 +02:00
John Landis
289b2669ef
Order payer information ( #169 )
...
* simplest change
* re-using existing type
Co-authored-by: John Landis <jlandis@bcorporation.net>
2020-09-16 15:30:17 -07:00
Moo
761c20a4ed
change SharedListResponse TotalItems, TotalPages from string to int; Error: json: cannot unmarshal number into Go struct field ListSubscriptionPlansResponse.total_items of type string ( #166 )
...
Co-authored-by: Moo <mri@robin-data.io>
2020-08-25 09:20:11 -07:00
Onezino Moreira
18b47a0652
add recipient_wallet payout field ( #165 )
2020-08-13 16:20:35 -07:00
Rami
a0d03ecb0d
Fixes response from CreateSubscription ( #155 )
2020-06-01 11:02:18 -07:00
Alex Pliutau
905bf2eaf2
remove workflows
2020-05-31 18:18:05 +02:00
Alex Pliutau
a678ccb4b1
Remove examples, keep godoc as source of truth ( #154 )
2020-05-31 17:02:56 +02:00
Alex Pliutau
e84c6d06c5
Remove confusing message
2020-05-31 16:57:11 +02:00
Alex Pliutau
2e16e4fb10
auto-release workflow
2020-05-31 16:56:11 +02:00
Rami
0461b35d07
Fixed incorrect response type in ListSubscriptionPlans ( #153 )
...
* Update billing plan
* Update billing plan
* Update billing plan
* Kickstart product creation
* Added product api
* Added list product api and refactored some similar structs
* Reverted endpoint for old billing plans
* Added subscription plans create get update list
* Added subscription plans activate/deactivate/update pricing scheme
* Added integration tests for subscription plans
* go fmt
* Add subscriptions API
* Removed AWS library added by mistake
* reverted billing plans url
* resolved MR discussions
* Fixed but in listing subscription plans, and some constants
* Fixed wrong type for subscription plan description
* Fixed updating issue
Co-authored-by: rami <admin@okitoo.net>
2020-05-31 16:49:02 +02:00
Rami
d355a65df0
Subscriptions, Subscription plans and Products API ( #151 )
2020-05-30 22:14:19 -07:00
Roopak Venkatakrishnan
b3eb2c69dd
Revert "Some updates to refund endpoint ( #121 )" ( #147 )
...
This reverts commit efe72c1ed4
.
2020-05-04 13:17:53 -07:00
Eric Lee
efe72c1ed4
Some updates to refund endpoint ( #121 )
...
* s/authorization/authorizations in url path
* Update authorization object to the paypal v2 version
* duplicate field
* rename some fields
* Update types for refund endpoint
* actually, don't do a breaking change
* .
* pointer
Co-authored-by: Alex Pliutau <a.pliutau@gmail.com>
2020-05-02 17:09:58 +02:00
Alex Pliutau
fc9dcf749b
Fix v2 endpoints, migrate to v1
2020-05-02 17:00:45 +02:00
Jakub Horák
4f66415fcd
Add transaction search /v1/reporting/transactions ( #145 )
2020-05-02 16:43:30 +02:00
Bülent Rahim Kazancı
21b349dbdc
Add functions of create, get, update, delete and list webhooks ( #146 )
...
* Add webhook creation function
* Add webhook list function
* Add webhook delete function
* Add webhook get function
* Add webhook update function
* Update documentation related to webhooks
* Fix addressed issues on code review
2020-05-02 16:42:37 +02:00
Jakub Horák
497963d8a5
Fix typo ( #144 )
2020-04-24 12:05:22 +02:00
kenbolt
7827c1418f
Auth capture idempotency and refund idempotency ( #143 )
...
* Idempotency for capture auth
2020-04-21 09:23:44 -07:00
kenbolt
907cf40be1
Adding a capture auth idempotent function ( #142 )
...
* Adding a capture auth idempotent function
* refactoring
* better name
Co-Authored-By: Roopak Venkatakrishnan <roopak.v@gmail.com>
* what's in a name
Co-authored-by: Roopak Venkatakrishnan <roopak.v@gmail.com>
2020-04-20 12:49:30 -07:00
Leaf
1fb8e0b1fa
Add order status consts ( #140 )
...
Fixes #136
2020-04-18 23:37:18 -07:00
kenbolt
2091d46d04
Refund from capture endpoint function ( #141 )
...
* Capture refund API call
* .
2020-04-08 09:51:17 -07:00
Alessandro Sechi
6f0fe4d870
Added GetSubscriptionDetails method ( #135 )
...
* Issue #133
Added GetSubscriptionDetails method
* Issue #133
2020-03-27 12:05:56 +01:00
Sergio Segrera
8686a619a4
Add capture response address field ( #137 )
2020-03-27 12:05:43 +01:00
Alex Pliutau
0e7098bda4
Include the 'items' in the response when capturing orders
2020-01-06 15:27:03 +01:00
Maksymilian Lewicki
89088bee4e
Update endpoints in coverage section in README ( #132 )
2020-01-06 17:21:21 +03:00