Skip to content

Commit

Permalink
Restlets for sandbox - 3 (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwin1111 authored Jun 6, 2024
1 parent f3cacdc commit 156267d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/netsuite/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,7 @@ def post_credit_card_charge(self, credit_card_charge: CreditCardCharge,
token_secret = self.__netsuite_credentials.ns_token_secret
is_sandbox = False

if '_SB' in account:
if '-SB' in account:
is_sandbox = True

url = f"https://{account.lower()}.restlets.api.netsuite.com/app/site/hosting/restlet.nl?" \
Expand Down

0 comments on commit 156267d

Please sign in to comment.