Alex Pliutau
1a2c109908
Merge pull request #227 from emead/master
...
Add status field to CaptureAmount
2021-10-05 13:32:59 +02:00
Edwin Mead
50acd8fce1
Add status field to CaptureAmount
2021-10-04 15:01:28 +01:00
Nik Bisht
64bfbc9b80
Update ReAuthorization call parameters ( #226 )
2021-09-27 20:34:39 -07:00
Alex Pliutau
6fb262a2b0
License 2021
2021-09-17 08:45:25 +02:00
Alex Pliutau
7599a2d162
#201 : add SUBSCRIBE_NOW
2021-09-17 08:44:39 +02:00
Alex Pliutau
ef48df5471
Merge pull request #223 from Yuusuke8686/fix_#219
...
Fix Reauthorize authorized payment parameter #219
2021-09-17 08:41:32 +02:00
Alex Pliutau
5a5daa8596
Merge pull request #224 from TariqueNasrullah/master
...
Grammatical error and Typo fixed in comments
2021-09-17 08:41:10 +02:00
Alex Pliutau
cbabac29c8
Merge pull request #225 from RensTillmann/patch-1
...
Added missing `items` on `PurchaseUnit` struct
2021-09-17 08:40:48 +02:00
Rens Tillmann
e6a47fe5e7
Added missing items
on PurchaseUnit
struct
...
When you call `GetOrder()` paypal also returns the items for `purchase_unit` ref: https://developer.paypal.com/docs/api/orders/v2/#definition-purchase_unit
The `PurchaseUnit` struct was missing this parameter.
2021-09-17 00:56:14 +02:00
TariqueNasrullah
59e3c9f3b0
fixed typo
2021-09-13 00:54:22 +06:00
TariqueNasrullah
326d69cc9e
fixed grammatical error
2021-09-13 00:53:49 +06:00
Yuusuke Miyatake
4ab23e5f78
#219 : fix parameter
2021-08-25 00:05:57 +09:00
rohanr-bolt
06067823c6
Add cancel billing agreement function ( #222 )
2021-08-19 10:29:00 -07:00
kenbolt
d5cba40cd6
Adding partner referral response ( #217 )
...
* Adding links to refund response
* Adding partner referral response
2021-07-27 15:56:29 -07:00
Cameron Jarnot
c2074af736
Update payment source type for optional fields ( #216 )
...
* updated payment source fields
* revert
* update payment source type
2021-07-27 11:59:36 -07:00
Dario Nevistić
297b4fa2c6
Updating Order with missing fields ( #215 )
...
* Update Order struct with API /v2 response fields according to the documentation https://developer.paypal.com/docs/api/orders/v2/\#orders_get
* Add order completed unmarshal response unit test
2021-07-27 16:37:20 +02:00
kenbolt
8e5d5220ab
Adding links to refund response ( #213 )
2021-07-26 16:13:23 -07:00
Cameron Jarnot
2d088532de
Re-adding billing agreements endpoint ( #212 )
...
* adding billing_agreements.go file
* added new types
* added tests
* added notice of deprecation
2021-07-21 07:53:38 +02:00
Cameron Jarnot
f195993596
deletions made ( #209 )
2021-07-20 08:37:55 +02:00
Thomas Frössman
d2210adf9c
Convert depracation comments to godoc and deprecate Resource struct. ( #207 )
...
* Fix deprecation comment formatting for godoc.
* Deprecate Resource struct
2021-07-20 08:37:23 +02:00
Gerasimovich Igor
7f2eec9b56
Added missing BillingAgreementId key in webhook ( #205 )
...
* Added missing BillingAgreementId key in webhook
Webhook resource contains `billing_agreement_id`. Exists in type: `PAYMENT.SALE.COMPLETED` when a subscription is paid.
* review fix
2021-07-14 09:08:11 +02:00
Cameron Jarnot
392c0e9d69
Add create billing agreement from token ( #204 )
...
* Add create billing agreement from token
2021-07-13 10:14:56 -07:00
Cameron Jarnot
a3977a8e74
Adding functions for requesting billing agreement token ( #203 )
...
* created billing agreements file
* CreateBillingAgreementToken created with new types
* updated formatting
* error to return nil
* removed new line
* added test
2021-07-12 11:25:19 +02:00
Alex Pliutau
021cc68201
Merge pull request #199 from thomasf/remove-invalid-events
...
remove invalid event structs
2021-04-30 08:07:26 +02:00
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