HostedCardElementOptions
Options for elements.create("hostedCard").
export interface HostedCardElementOptions extends BaseElementOptionsProperties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
cardCheckout | CardCheckout | From startCardCheckout(). Keep it for a reload: each call makes a new checkout. |
returnUrl? | string | Where the form brings the customer back to, as an absolute http(s) URL. Defaults to cardCheckout.returnUrl, then this page. referenceNumber is added to it, so handleRedirectResult() can finish the payment there. |
Also has everything BaseElementOptions has.