diff --git a/osinaweb/customercore/payment/__pycache__/views.cpython-310.pyc b/osinaweb/customercore/payment/__pycache__/views.cpython-310.pyc index c08a3345..3f32344a 100644 Binary files a/osinaweb/customercore/payment/__pycache__/views.cpython-310.pyc and b/osinaweb/customercore/payment/__pycache__/views.cpython-310.pyc differ diff --git a/osinaweb/customercore/payment/views.py b/osinaweb/customercore/payment/views.py index 93f578a1..7ecc5fc6 100644 --- a/osinaweb/customercore/payment/views.py +++ b/osinaweb/customercore/payment/views.py @@ -53,9 +53,9 @@ def card_payment(request, payment_id): @customer_login_required def initiate_payment_checkout(request): - api_username = 'merchant.TEST06127800' - api_password = '37846250a67c70e7fe9f82cf6ca81f93' - merchant_id = 'TEST06127800' + api_username = 'merchant.06127800' + api_password = '549c33e1bc4aea6fcf96f9943e6c0256' + merchant_id = '06127800' merchant_name = 'Ositcom Sal' customer = request.user.customerprofile @@ -83,8 +83,7 @@ def initiate_payment_checkout(request): 'order.amount': price, 'order.currency': 'USD', 'order.description': 'description_of_order', - 'order.notificationUrl' : 'https://newosina.osinode.com/webhooks/', - 'interaction.returnUrl' : f"https://newosina.osinode.com/check-order-status/{merchant_id}/{order_id}/" + 'interaction.returnUrl' : f"https://osina.osinode.com/check-order-status/{merchant_id}/{order_id}/" } try: @@ -171,7 +170,6 @@ def buy_now_checkout(request): 'order.amount': price, 'order.currency': 'USD', 'order.description': 'description_of_order', - 'order.notificationUrl' : 'https://newosina.osinode.com/webhooks/', 'interaction.returnUrl' : f"https://osina.ositcom.com/check-order-status/{merchant_id}/{order_id}/" } diff --git a/osinaweb/db.sqlite3 b/osinaweb/db.sqlite3 index 687413d3..74b15379 100644 Binary files a/osinaweb/db.sqlite3 and b/osinaweb/db.sqlite3 differ diff --git a/osinaweb/osinacore/__pycache__/consumers.cpython-310.pyc b/osinaweb/osinacore/__pycache__/consumers.cpython-310.pyc index ff564bec..5a02ceb1 100644 Binary files a/osinaweb/osinacore/__pycache__/consumers.cpython-310.pyc and b/osinaweb/osinacore/__pycache__/consumers.cpython-310.pyc differ