Skip to main content

create_checkout

Function create_checkout 

Source
pub async fn create_checkout(
    http: &Client,
    cfg: &DodoConfig,
    product_id: &str,
    email: &str,
    account_id: Uuid,
    return_url: &str,
) -> Result<String, DodoError>
Expand description

Starts a hosted checkout for product_id; returns the page to send the customer to.