Skip to content

Commit

Permalink
Update payping.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AlirezaYousefpourM authored Sep 10, 2024
1 parent b32788b commit 8666d56
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/payping.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def create_payment(self, order_id, amount, name, phone, mail, desc, callback):
# "tax_total": 0
}
response = requests.request(method='POST', headers=self.__headers, url=PayPing_URL, data=json.dumps(body))
raise Exception("token: " + PAYPING_AUTH)
json_response = json.loads(response.text)
if 'status' not in json_response:
json_response['status'] = response.status_code
Expand Down

0 comments on commit 8666d56

Please sign in to comment.