Search...
getPaymentCurrency( )
Gets site payment currency information.
Description
The getPaymentCurrency()
function returns a Promise that resolves to the site's
payment currency information.
The retrieved payment currency information is the information that has been entered in the General Info section of your site's Dashboard.
Syntax
function getPaymentCurrency(): Promise<string>
getPaymentCurrency Parameters
This function does not take any parameters.
Returns
Fulfilled - An object containing the site payment currency information. Rejected - Error message.
Return Type:
Promise<string>
Was this helpful?
Get site payment currency information
Copy Code
1import wixSiteBackend from 'wix-site-backend';23export function getPaymentCurrency() {4 return wixSiteBackend.generalInfo.getPaymentCurrency(); // "USD"5}