Update billing with backend changes (#2505)

This commit is contained in:
Geometrically
2024-10-09 21:11:49 -07:00
committed by GitHub
parent d302795512
commit 570a4096f9
3 changed files with 72 additions and 49 deletions

View File

@@ -540,8 +540,11 @@ async function refreshPayment(confirmationId, paymentMethodId) {
}
const result = await props.sendBillingRequest({
product_id: props.product.id,
interval: selectedPlan.value,
charge: {
type: 'new',
product_id: props.product.id,
interval: selectedPlan.value,
},
existing_payment_intent: paymentIntentId.value,
...base,
})