stripe-pay-client 10.2.2

WebAssembly client for the Stripe payment SDK: renders Stripe payment element configuration and forwards it to the server transport.
Documentation
1
2
3
4
5
6
7
8
9
10
/// Why the client refused to mount a payment element.
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum ElementError {
    /// The configuration carries no client secret.
    MissingClientSecret,
    /// Stripe.js was not present on the page.
    StripeJsUnavailable,
    /// The host page has no element to mount into.
    MissingMountTarget,
}