From f8d53052833dcebaf8261f09adc866ad9f172c50 Mon Sep 17 00:00:00 2001 From: Glenn Date: Mon, 14 Oct 2024 20:59:03 -0500 Subject: [PATCH] Fixed json parsing issue --- server/routes/api/checkout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routes/api/checkout.js b/server/routes/api/checkout.js index a9864db9d..962066efd 100644 --- a/server/routes/api/checkout.js +++ b/server/routes/api/checkout.js @@ -189,7 +189,7 @@ router.post('/process-transaction', async (req, res) => { color: false, use_type: 'operational', file: letterTemplate.latest_template_preview.template_id, - merge_variables: letter.mergeVariables + merge_variables: JSON.parse(letter.mergeVariables) }, { headers: {