Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ogone/src/ogone.dom.d.ts>PaymentResponse

Advanced Web Composition for Future
Latest
interface PaymentResponse
import { type PaymentResponse } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";

This Payment Request API export interface is returned after a user selects a payment method and approves a payment request.

Properties

readonly
details: any
readonly
methodName: string
readonly
payerEmail: string | null
readonly
payerName: string | null
readonly
payerPhone: string | null
readonly
requestId: string
readonly
shippingAddress: PaymentAddress | null
readonly
shippingOption: string | null

Methods

complete(result?: PaymentComplete): Promise<void>
toJSON(): any