diff --git a/src/Resources/views/payFromPaymentPage.html.twig b/src/Resources/views/payFromPaymentPage.html.twig index c4187bb7..6443ff76 100644 --- a/src/Resources/views/payFromPaymentPage.html.twig +++ b/src/Resources/views/payFromPaymentPage.html.twig @@ -20,7 +20,7 @@ method: 'post' }).then(function(res) { return res.status === 400 ? window.location.reload() : res.json(); - }).then(data => data.orderID); + }).then(data => data.order_id); }, onApprove: function(data, actions) { return fetch(completePayPalOrderFromPaymentPageUrl, {