Skip to content

Commit

Permalink
Fix api version for cowpay iframe - EDLY-5604 (#131)
Browse files Browse the repository at this point in the history
Co-authored-by: Taimoor  Ahmed <taimoor.ahmed@A006-00933.local>
  • Loading branch information
taimoor-ahmed-1 and Taimoor Ahmed authored Jun 13, 2023
1 parent 29cc68d commit e8a8dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecommerce/extensions/payment/processors/cowpay.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def fawry_form(self):

@property
def iframe_token(self):
cowpay_url = urljoin(self.base_url, '/api/v2/iframe/token')
cowpay_url = urljoin(self.base_url, '/api/v1/iframe/token')
headers = self._get_request_header()
basket = self.request.basket
payload = self._get_request_payload(
Expand Down

0 comments on commit e8a8dd1

Please sign in to comment.