Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 000b6a3

Browse files
committed
F
1 parent 537ecc1 commit 000b6a3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

‎api/views.py‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@ def authKey(request):
2929

3030
# Function to GET BigComerce Orders
3131
def orders(request):
32-
33-
signed_payload = request.GET.get('signed_payload')
34-
a = BigcommerceApi.oauth_verify_payload(signed_payload, client_secret())
35-
# store_hash = a['store_hash']
36-
# obj = get_object_or_404(Auth, storehash=store_hash)
37-
# token = obj.token
38-
print(a)
39-
4032
url = 'https://api.bigcommerce.com/stores/' + config('apiStoreHash') + '/v2/orders'
4133
headers = {'X-Auth-Token': config('apiToken') , 'Accept': 'application/json', 'host':'api.bigcommerce.com' ,'Content-Type': 'application/json'}
4234
r = requests.get(url, headers=headers)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /