-
-
Notifications
You must be signed in to change notification settings - Fork 173
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
After trying to fetch a Dispute for a Paypal payment, I get the following deserialization error:
payment_method_details.type: unknown variant `paypal`, expected `card` at line 218 column 20
The error can be fixed by adding the Paypal variant to DisputePaymentMethodDetailsType
To Reproduce
- Create a payment paid through Paypal
- Initiate a dispute
- Try to fetch the Dispute with
stripe::Dispute::retrieve
Expected behavior
The Dispute object is received and deserialized successfully.
Code snippets
OS
Ubuntu 25.10
Rust version
rustc 1.91.0
Library version
0.41
API version
2022-11-15
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working