Commit graph

65 commits

Author SHA1 Message Date
Edgar 2c4661fd3f comment out tests that talk to the api directly 2022-11-09 10:40:25 +01:00
Edgar 7a764c5cfe chore: update deps and use dotenvy instead of dotenv 2022-11-09 10:07:28 +01:00
Edgar 557113084b
start adding integration tests, derive builder in more places 2022-09-28 17:48:00 +02:00
Edgar 2b23f6a8db
change the way sandbox is handled, allow to provide a mock server url 2022-09-28 16:25:44 +02:00
Pro 214893e40f Update the capture response structures 2022-09-21 19:21:19 +02:00
Edgar dd42c74e14
fix docs on send invoice 2022-08-31 12:04:58 +02:00
Edgar 76c169781c
release 0.2 even if not all features are implemented 2022-07-05 08:16:07 +02:00
Edgar 93108ed17f
remove unused uses 2022-07-05 07:57:45 +02:00
Edgar a895a70b34
Merge pull request #7 from twistedfall/refund_fields
Add more fields to the refund object
2022-06-06 10:58:57 +02:00
Pro 4e3c6af605 Add more fields to the refund object 2022-06-05 22:40:53 +02:00
Pro b4c2f2f152 country_code is missing for my request in the sandbox environment
This part looks like this:
```
"address": {}
```
2022-06-05 22:06:05 +02:00
Harry Ying 0b03154d4e
add ShippingDetailName doc 2022-05-28 00:06:08 +08:00
Harry Ying d9889f01e1
add ShippingDetailName 2022-05-27 22:03:41 +08:00
Edgar 7714124270
format 2022-05-12 09:58:44 +02:00
Edgar a4c4838aaf
some fixes 2022-05-12 09:58:36 +02:00
Edgar 89b1fdf113
add get authorized payment 2022-05-12 09:18:22 +02:00
Pro 43d9d0a76b Improve usability of predefined Money constructors 2022-05-11 21:23:09 +02:00
Edgar 5dccdcbb28
fixes and utility for money type 2022-04-28 10:06:29 +02:00
Edgar 997b129a38
various fixes and lot of builders 2022-04-26 09:25:39 +02:00
Edgar d38ef6f80e
cleanup 2022-04-20 09:35:00 +02:00
Edgar 3f783a824f
document all missing 2022-04-20 09:31:46 +02:00
Edgar aa5cdf3e01
progress 2022-04-08 17:04:30 +02:00
Edgar b1f97b13da
start working on new api design 2022-04-08 11:13:42 +02:00
Edgar d5d29fb016
fix warnings 2022-04-08 09:20:42 +02:00
Pro d8e94e6fae Update models to correspond to the actual PayPal responses
Namely Refund, Authorization and Capture all contain an intermediate "reason" field in their status_details.
https://developer.paypal.com/api/orders/v2/#definition-refund_status_details
https://developer.paypal.com/api/orders/v2/#definition-authorization_status_details
https://developer.paypal.com/api/orders/v2/#definition-capture_status_details
2022-01-22 19:05:24 +01:00
Edgar b5b0dfb5af
upd deps and fix invoice date 2021-12-30 23:48:09 +01:00
Edgar 2ac44b4c91
fix #1 2021-07-02 11:38:43 +02:00
Edgar f526eec695
fix error 2021-07-02 11:21:20 +02:00
Edgar 32b9f74994
fix conflict 2021-07-02 11:19:47 +02:00
Edgar f98344a16c some fixes 2021-02-08 10:19:28 +01:00
Edgar 86191f455e use serde_with 2021-02-08 09:48:41 +01:00
Edgar 959b0efc6a
remove wrong usage 2021-01-10 12:03:55 +01:00
Edgar 307243deea
add countries 2021-01-10 11:54:28 +01:00
Edgar 21ac804759
improved error handling 2021-01-09 11:41:17 +01:00
Edgar e61739a8fb
meant strongly not stringly 2021-01-08 16:37:48 +01:00
Edgar b42f8b39ea
typo 2021-01-08 16:13:44 +01:00
Edgar cce72ed41b
fix readme and test 2021-01-08 16:06:25 +01:00
Edgar 5f77a90e1b
remove boxed errors, some updates 2021-01-08 16:03:19 +01:00
Edgar 6a186d0025
add typed currency 2021-01-05 13:40:36 +01:00
Edgar a2032510e3
move/update deps, don't require explicit call to get auth token 2021-01-05 12:22:34 +01:00
Edgar 31a4a78a42
clippy fix 2020-12-15 10:52:09 +01:00
Edgar d4bbe2340f
upd deps 2020-12-15 10:49:50 +01:00
Edgar 1b060b7fb1
doc missing 2020-12-15 10:43:24 +01:00
Edgar 84f1261b62
add record_invoice_payment 2020-10-14 12:49:43 +02:00
Edgar 3932847903
reorganize tests 2020-10-14 10:48:46 +02:00
Edgar 7be2b4ce2c
added more invoice methods 2020-08-12 17:43:59 +02:00
Edgar b125e95e43
add get_invoice and list_invoices 2020-08-12 15:01:31 +02:00
Edgar a8b57dd256
progress with invoice 2020-08-12 14:48:11 +02:00
Edgar 760aeada94
Reorder and invoice progress 2020-08-12 10:35:09 +02:00
Edgar 2632f809ca
make error fields pub 2020-06-10 16:38:54 +02:00