Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Add scaffolding to keep track of the source page for any payment journey #128

Merged
merged 1 commit into from
Aug 5, 2019

Conversation

solarissmoke
Copy link
Contributor

Store the ID of the originating page in the session at the end of a transaction. This will be used to gather data required for #27.

Also added some missing tests for get_transaction_details_for_session for single/monthly card views.

Copy link
Collaborator

@ababic ababic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@solarissmoke I would suggest using forms.IntegerField() in the payment forms and not worrying about continually validating the value. It seems like we only need to worry about linking the value up to a page in get_source_page() and at that point we can filter the queryset as necessary.

@solarissmoke solarissmoke merged commit a390672 into master Aug 5, 2019
@solarissmoke solarissmoke deleted the feature/track-source-page branch August 5, 2019 11:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants