Can not direct to checkout page in Ecommerce

Hello everyone, I have integrated the new payment service, then I have successfully made payment with domestic cards, after that, I was directed to the Order successful notification page.

However, it’s not work for international payment cards such as Visa, MasterCard…, it seems that the reason is that the international payment process will take longer, after successful payment by international payment cards. I was directed to an url page like https://my-domain/checkout/receipt/?order_number=EDX-100494&disable_back_button=1, I should have received a message saying “Thank you for your order!” however the reality is that I get the notification
“The specified order could not be located. Please ensure that the URL is correct, and try again.You may also view your previous orders on the Account Settings page.” at the url
https://my-domain/checkout/receipt/?order_number=EDX-100494&disable_back_button=1
Then I have to press F5 to receive the Order success message

Here is the log

Dec 14 09:16:28 ip-10-0-1-156 [service_variant=ecommerce][edx_rest_framework_extensions.auth.jwt.middleware] INFO [ip-10-0-1-156  602440] [/edx/app/ecommerce/venvs/ecommerce/lib/python3.8/site-packages/edx_rest_framework_extensions/auth/jwt/middleware.py:70] - ('The view CheckoutView allows Jwt Authentication. The required permission class, NotJwtRestrictedApplication,', ' was automatically added.')
Dec 14 09:16:28 ip-10-0-1-156 [service_variant=ecommerce][ecommerce.extensions.api.v2.views.checkout] INFO [ip-10-0-1-156  602440] [/edx/app/ecommerce/ecommerce/ecommerce/extensions/api/v2/views/checkout.py:30] - Checkout view called for basket [494].
Dec 14 09:16:28 ip-10-0-1-156 [service_variant=ecommerce][ecommerce.enterprise.api] INFO [ip-10-0-1-156  602440] [/edx/app/ecommerce/ecommerce/ecommerce/enterprise/api.py:158] - Unable to retrieve enterprise learner data for User: luanmighty, Exception: Client Error 404: https://online-stg.megauni.vn/enterprise/api/v1/enterprise-learner/
Dec 14 09:17:51 ip-10-0-1-156 [service_variant=ecommerce][ecommerce.megauni.payment.vnpay.views] WARNING [ip-10-0-1-156  602441] [/edx/app/ecommerce/ecommerce/ecommerce/megauni/payment/vnpay/views.py:148] - VNPayReturnView payment_response: {'vnp_Amount': '10000000', 'vnp_BankCode': 'JCB', 'vnp_BankTranNo': '7025202697366971603012', 'vnp_CardType': 'JCB', 'vnp_OrderInfo': 'program_id:None', 'vnp_PayDate': '20231214091704', 'vnp_ResponseCode': '00', 'vnp_TmnCode': 'MEGAUNI1', 'vnp_TransactionNo': '14241456', 'vnp_TransactionStatus': '00', 'vnp_TxnRef': 'EDX-100494', 'vnp_SecureHash': '3e913d228d841a8fef2049613c83a16894a0f0c8c4af242490a3fd4217ee5fece5809258466fa6f56acee536b0641483740d1e8e4cf76547d5ae599417439f3a'}
Dec 14 09:17:51 ip-10-0-1-156 [service_variant=ecommerce][ecommerce.megauni.payment.vnpay.views] WARNING [ip-10-0-1-156  602441] [/edx/app/ecommerce/ecommerce/ecommerce/megauni/payment/vnpay/views.py:149] - VNPayReturnView IP: 1.54.222.132
Dec 14 09:17:52 ip-10-0-1-156 [service_variant=ecommerce][ecommerce.megauni.payment.vnpay.views] WARNING [ip-10-0-1-156  602441] [/edx/app/ecommerce/ecommerce/ecommerce/megauni/payment/vnpay/views.py:78] - VNPayIPNView payment_response: {'vnp_Amount': '10000000', 'vnp_BankCode': 'JCB', 'vnp_BankTranNo': '7025202697366971603012', 'vnp_CardType': 'JCB', 'vnp_OrderInfo': 'program_id:None', 'vnp_PayDate': '20231214091704', 'vnp_ResponseCode': '00', 'vnp_TmnCode': 'MEGAUNI1', 'vnp_TransactionNo': '14241456', 'vnp_TransactionStatus': '00', 'vnp_TxnRef': 'EDX-100494', 'vnp_SecureHash': '3e913d228d841a8fef2049613c83a16894a0f0c8c4af242490a3fd4217ee5fece5809258466fa6f56acee536b0641483740d1e8e4cf76547d5ae599417439f3a'}
Dec 14 09:17:52 ip-10-0-1-156 [service_variant=ecommerce][ecommerce.megauni.payment.vnpay.views] WARNING [ip-10-0-1-156  602441] [/edx/app/ecommerce/ecommerce/ecommerce/megauni/payment/vnpay/views.py:79] - VNPayIPNView IP: 113.160.92.202
Dec 14 09:17:52 ip-10-0-1-156 [service_variant=ecommerce][ecommerce.enterprise.api] INFO [ip-10-0-1-156  602441] [/edx/app/ecommerce/ecommerce/ecommerce/enterprise/api.py:158] - Unable to retrieve enterprise learner data for User: luanmighty, Exception: Client Error 404: https://online-stg.megauni.vn/enterprise/api/v1/enterprise-learner/
Dec 14 09:17:52 ip-10-0-1-156 [service_variant=ecommerce][django.request] WARNING [ip-10-0-1-156  602440] [/edx/app/ecommerce/venvs/ecommerce/lib/python3.8/site-packages/django/utils/log.py:222] - Not Found: /checkout/receipt/
Dec 14 09:17:52 ip-10-0-1-156 [service_variant=ecommerce][django.request] WARNING [ip-10-0-1-156  602440] [/edx/app/ecommerce/venvs/ecommerce/lib/python3.8/site-packages/django/utils/log.py:222] - Not Found: /checkout/receipt/
Dec 14 09:17:52 ip-10-0-1-156 [service_variant=ecommerce][django.request] WARNING [ip-10-0-1-156  602440] [/edx/app/ecommerce/venvs/ecommerce/lib/python3.8/site-packages/django/utils/log.py:222] - Not Found: /checkout/receipt/
Dec 14 09:17:52 ip-10-0-1-156 [service_variant=ecommerce][ecommerce.extensions.analytics.utils] INFO [ip-10-0-1-156  602441] [/edx/app/ecommerce/ecommerce/ecommerce/extensions/analytics/utils.py:95] - payment_received: amount="100000", basket_id="494", currency="VND", processor_name="vnpay", reference="14241456", user_id="169"
Dec 14 09:17:52 ip-10-0-1-156 [service_variant=ecommerce][ecommerce.extensions.analytics.utils] INFO [ip-10-0-1-156  602441] [/edx/app/ecommerce/ecommerce/ecommerce/extensions/analytics/utils.py:95] - order_placed: amount="100000.00", basket_id="494", contains_coupon="False", currency="VND", order_number="EDX-100494", user_id="169"
Dec 14 09:17:52 ip-10-0-1-156 [service_variant=ecommerce][ecommerce.extensions.checkout.signals] INFO [ip-10-0-1-156  602441] [/edx/app/ecommerce/ecommerce/ecommerce/extensions/checkout/signals.py:95] - There is no program or bundle associated with order number EDX-100494
Dec 14 09:17:52 ip-10-0-1-156 [service_variant=ecommerce][ecommerce.extensions.fulfillment.api] INFO [ip-10-0-1-156  602441] [/edx/app/ecommerce/ecommerce/ecommerce/extensions/fulfillment/api.py:43] - Attempting to fulfill products for order [EDX-100494]
Dec 14 09:17:52 ip-10-0-1-156 [service_variant=ecommerce][ecommerce.extensions.fulfillment.modules] INFO [ip-10-0-1-156  602441] [/edx/app/ecommerce/ecommerce/ecommerce/extensions/fulfillment/modules.py:277] - Attempting to fulfill 'Seat' product types for order [EDX-100494]
Dec 14 09:17:52 ip-10-0-1-156 [service_variant=ecommerce][ecommerce.extensions.analytics.utils] INFO [ip-10-0-1-156  602441] [/edx/app/ecommerce/ecommerce/ecommerce/extensions/analytics/utils.py:95] - line_fulfilled: course_id="course-v1:MegaUni+T-E-63+2023_12", credit_provider="None", mode="verified", order_line_id="273", order_number="EDX-100494", product_class="Seat", user_id="169"
Dec 14 09:17:52 ip-10-0-1-156 [service_variant=ecommerce][ecommerce.extensions.fulfillment.modules] INFO [ip-10-0-1-156  602441] [/edx/app/ecommerce/ecommerce/ecommerce/extensions/fulfillment/modules.py:377] - Finished fulfilling 'Seat' product types for order [EDX-100494]
Dec 14 09:17:52 ip-10-0-1-156 [service_variant=ecommerce][ecommerce.extensions.fulfillment.api] INFO [ip-10-0-1-156  602441] [/edx/app/ecommerce/ecommerce/ecommerce/extensions/fulfillment/api.py:85] - Finished fulfilling order [EDX-100494] with status [Complete]. [0.405112] seconds elapsed since placement.
Dec 14 09:17:52 ip-10-0-1-156 [service_variant=ecommerce][ecommerce.megauni.payment.vnpay.views] INFO [ip-10-0-1-156  602441] [/edx/app/ecommerce/ecommerce/ecommerce/megauni/payment/vnpay/views.py:128] - VNPay: Confirm Success for basket [494].

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.