Skip to content

Commit b1fd647

Browse files
mrsaicharan1iamareebjamal
authored andcommitted
feat: Added JWT headers to fix accessibility issue (#6431)
1 parent 46c5fdf commit b1fd647

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/api/orders.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,7 @@ def verify_mobile_paypal_payment(order_identifier):
561561

562562

563563
@alipay_blueprint.route('/create_source/<string:order_identifier>', methods=['GET', 'POST'])
564+
@jwt_required
564565
def create_source(order_identifier):
565566
"""
566567
Create a source object for alipay payments.
@@ -600,6 +601,7 @@ def alipay_return_uri(order_identifier):
600601

601602

602603
@order_misc_routes.route('/orders/<string:order_identifier>/omise-checkout', methods=['POST', 'GET'])
604+
@jwt_required
603605
def omise_checkout(order_identifier):
604606
"""
605607
Charging the user and returning payment response for Omise Gateway

0 commit comments

Comments
 (0)