Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion paython/gateways/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def set_shipping_info(self, ship_first_name, ship_last_name, ship_address, ship_
def standardize(self, spec_response, field_mapping, response_time, approved):
"""
Translates gateway specific response into Paython generic response.
Expects list or dictionary for spec_repsonse & dictionary for field_mapping.
Expects list or dictionary for spec_response & dictionary for field_mapping.
"""
# manual settings
self.RESPONSE_FIELDS['response_time'] = response_time
Expand Down
2 changes: 1 addition & 1 deletion paython/gateways/firstdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def parse(self, response):
logger.debug(response)
if type(self._retry_on_bmc) is int and 0 < self._retry_on_bmc < 4 and response == "Unauthorized Request. Bad or missing credentials.":
"""When FDs servers return "Unauthorized Request. Bad or missing credentials."
which happend quite often for ABSOLUTLY no reason. We will try the request again.
which happened quite often for ABSOLUTLY no reason. We will try the request again.
3 attempts will be made if this error occurs.
I have contacted their support about this issue...sometime ago.
"""
Expand Down
2 changes: 1 addition & 1 deletion paython/gateways/firstdata_legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def capture(self, amount, credit_card=None, billing_info=None, shipping_info=Non
def void(self, trans_id):
"""
Send a SALE (only works for sales) transaction to be voided (in full) that was initially sent for capture the same day
This is so wierd!
This is so weird!
"""
#set up transaction
self.charge_setup() # considering turning this into a decorator?
Expand Down
2 changes: 1 addition & 1 deletion paython/gateways/plugnpay.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def __init__(self, username='pnpdemo', password='', email='', dontsndmail=True,
if password: # optional gateway password
super(PlugnPay, self).set('publisher-password', password)

if email: # publisher email to send alerts/notifiation to
if email: # publisher email to send alerts/notification to
super(PlugnPay, self).set('publisher-email', email)

# don't send transaction confirmation email to customer
Expand Down