feat: Add New Property and Update Test Cases for Payment Processing #176
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feat: Add New Property and Update Test Cases for Payment Processing
Description:
This PR enhances the payments module by adding a new property to the
PaymentRequestNetworkTokenSource
class and improves test coverage by updating and skipping tests as necessary.Key Changes:
New Property:
store_for_future_use
to thePaymentRequestNetworkTokenSource
class to manage token storage preferences.Test Enhancements:
@pytest.mark.skip(reason='not available')
to indicate that the functionality is currently unavailable. This includes:test_should_get_bank_account_field_formatting
ininstruments_integration_test.py
.instruments_previous_integration_test.py
.payments_previous_integration_test.py
.request_payouts_previous_integration_test.py
,tokens_previous_integration_test.py
, andrequest_apm_payments_integration_test.py
.create_hosted_payments_request
inhosted_payments_integration_test.py
to includedisplay_name
for better context.payments_links_integration_test.py
andpayments_links_previous_integration_test.py
by removing warnings processing.test_should_make_knet_payment
inrequest_apm_payments_integration_test.py
to verify thepayment_response
.Impact:
Testing:
store_for_future_use
property.Notes:
store_for_future_use
property to align integrations with the updated SDK.