2
0

feat:多支付以及货币符号显示

This commit is contained in:
zhongzm
2025-04-27 20:17:35 +08:00
parent 621932f514
commit 3cc72b946d
11 changed files with 142 additions and 29 deletions

View File

@@ -28,7 +28,7 @@ export const constructPaypalBtn = async(orderId: number, currency: string) =>{
const errorMessage = errorDetail
? `${errorDetail.issue} ${errorDetail.description} (${orderData.debug_id})`
: JSON.stringify(orderData);
throw new Error(errorMessage);
} catch (error) {
console.error(error);
@@ -96,4 +96,4 @@ export const constructPaypalBtn = async(orderId: number, currency: string) =>{
function resultMessage(message: any) {
const container: any = document.querySelector("#result-message");
container.innerHTML = message;
}
}