emile 10 months ago
parent a8354ec105
commit a871ae9524

@ -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}/"
}

Binary file not shown.
Loading…
Cancel
Save