Skip to content

Any way to add phone_number_collection and shipping rate options to this? #343

Open
@Albertinou

Description

@Albertinou
export default function CartProvider({children}: {children: ReactNode}){
    return (
        <USCProvider 
        mode="payment" 
        cartMode="client-only" 
        stripe={process.env.NEXT_PUBLIC_STRIPE_KEY as string}
        successUrl="/success"
        cancelUrl="/error"
        currency="EUR"
        billingAddressCollection={true}
        shouldPersist={true}
        language="lt"
        
        >
            {children}            
        </USCProvider>
    )
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions