arlyon / async-stripe

Async (and blocking!) Rust bindings for the Stripe API
https://payments.rs
Apache License 2.0
447 stars 129 forks source link

feat(webhook_events): support construct_event with timestamp #374

Closed seanpianka closed 6 months ago

seanpianka commented 1 year ago

Summary

This PR adds a testing utility constructor which allows for replaying requests with an older timestamp. This is useful for unit tests and should not be used in production.

Checklist

arlyon commented 1 year ago

Thanks! There seems to be an issue with our MSRV and llvm-cov, I will investigate and report back. Thanks for your patience! :)

arlyon commented 1 year ago

I have pushed a change to fix the CI msrv pin issue, please rebase when you get the chance and ping me when its done :)

seanpianka commented 7 months ago

Howdy @arlyon! At long last, I have recalled this PR and rebased from this upstream's master branch. If this code is still suitable for the mainline, considering #436, feel free to merge it.