diff --git a/lms/djangoapps/shoppingcart/tests/payment_fake.py b/lms/djangoapps/shoppingcart/tests/payment_fake.py index b96b822317..155da67d31 100644 --- a/lms/djangoapps/shoppingcart/tests/payment_fake.py +++ b/lms/djangoapps/shoppingcart/tests/payment_fake.py @@ -125,11 +125,11 @@ class PaymentFakeView(View): "req_amount": post_params.get('amount'), "auth_amount": post_params.get('amount'), "req_reference_number": post_params.get('reference_number'), - "req_transaction_uuid": post_params.get('transaction_uuid'), + "req_transaction_uuid": post_params.get('transaction_uuid', ''), "req_access_key": post_params.get('access_key'), "req_transaction_type": post_params.get('transaction_type'), - "req_override_custom_receipt_page": post_params.get('override_custom_receipt_page'), - "req_payment_method": post_params.get('payment_method'), + "req_override_custom_receipt_page": post_params.get('override_custom_receipt_page', ''), + "req_payment_method": post_params.get('payment_method', ''), "req_currency": post_params.get('currency'), "req_locale": post_params.get('locale'), "signed_date_time": post_params.get('signed_date_time'),