From a0fe3f031f7c5a58d3771c22c470504bed999c11 Mon Sep 17 00:00:00 2001 From: mrsaicharan1 Date: Fri, 30 Aug 2019 23:28:25 +0530 Subject: [PATCH] feat: Added JWT headers to fix accessibility issue --- app/api/orders.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/api/orders.py b/app/api/orders.py index 67344fc174..310e8a85e0 100644 --- a/app/api/orders.py +++ b/app/api/orders.py @@ -557,6 +557,7 @@ def verify_mobile_paypal_payment(order_identifier): @alipay_blueprint.route('/create_source/', methods=['GET', 'POST']) +@jwt_required def create_source(order_identifier): """ Create a source object for alipay payments. @@ -596,6 +597,7 @@ def alipay_return_uri(order_identifier): @order_misc_routes.route('/orders//omise-checkout', methods=['POST', 'GET']) +@jwt_required def omise_checkout(order_identifier): """ Charging the user and returning payment response for Omise Gateway