Skip to content
This repository has been archived by the owner on May 10, 2019. It is now read-only.

Commit

Permalink
Fix typo retrieving vendor prefix
Browse files Browse the repository at this point in the history
Properly get the OSCAR_SAGEPAY_TX_CODE_PREFIX from the project settings
  • Loading branch information
costas-basdekis committed Oct 17, 2014
1 parent 9a02cb8 commit d0f4209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oscar_sagepay/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
VPS_REGISTER_URL = 'https://live.sagepay.com/gateway/service/vspdirect-register.vsp'
VPS_AUTHORISE_URL = VPS_REFUND_URL = VPS_REGISTER_URL = VPS_VOID_URL

VENDOR_TX_CODE_PREFIX = getattr(settings, "OSCAR_SAGEOAY_TX_CODE_PREFIX",
VENDOR_TX_CODE_PREFIX = getattr(settings, "OSCAR_SAGEPAY_TX_CODE_PREFIX",
"oscar")

0 comments on commit d0f4209

Please sign in to comment.