@oneblink/apps-react
    Preparing search index...

    Function getPaymentHandoff

    • Get the URL the user should be sent to in order to pay. Hosted providers return the provider's hosted form URL. In-app providers return the application's payment form URL with the payment session appended.

      Parameters

      • __namedParameters: {
            amount: number;
            customerReferenceNumber?: string;
            formId: number;
            hostedFormUrl: string;
            paymentSubmissionEvent: FormPaymentEvent;
        }
        • amount: number
        • OptionalcustomerReferenceNumber?: string

          The resolved customer reference number. Falls back to the configured value.

        • formId: number
        • hostedFormUrl: string
        • paymentSubmissionEvent: FormPaymentEvent

      Returns string