Preparing search index...
The search index is not available
@lacagnottedesproches/lcdp-js
@lacagnottedesproches/lcdp-js
CheckoutPaymentProps
Interface CheckoutPaymentProps
interface
CheckoutPaymentProps
{
amountDonation
:
number
;
amountTip
:
number
;
lcdp
:
LCDP
;
onError
?:
(
errorMessage
:
string
)
=>
void
;
onSuccess
?:
(
payload
:
PayloadDonation
,
donationId
?:
`
${
string
}
-
${
string
}
-
${
string
}
-
${
string
}
-
${
string
}
`
,
)
=>
void
;
pot
:
Pot
;
return_url
:
string
;
}
Index
Properties
amount
Donation
amount
Tip
lcdp
on
Error?
on
Success?
pot
return_
url
Properties
amount
Donation
amountDonation
:
number
amount
Tip
amountTip
:
number
lcdp
lcdp
:
LCDP
Optional
on
Error
onError
?:
(
errorMessage
:
string
)
=>
void
Optional
on
Success
onSuccess
?:
(
payload
:
PayloadDonation
,
donationId
?:
`
${
string
}
-
${
string
}
-
${
string
}
-
${
string
}
-
${
string
}
`
,
)
=>
void
pot
pot
:
Pot
return_
url
return_url
:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
amount
Donation
amount
Tip
lcdp
on
Error
on
Success
pot
return_
url
@lacagnottedesproches/lcdp-js
Loading...