Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Referencing the type of payment after external gateway redirect #13

Open
jedateach opened this issue Jun 29, 2012 · 0 comments
Open

Referencing the type of payment after external gateway redirect #13

jedateach opened this issue Jun 29, 2012 · 0 comments
Labels
Milestone

Comments

@jedateach
Copy link
Collaborator

After we are redirected from an external gateway back to our website, how do we reference the type of payment, gateway used, and controller type?

Essentially we need to store something in the url that we provide to the external gateway, which can be later referenced to restore the payment type, and continue processing.

What to store:

  • Payment identifier - new concept introduced recently for the registry/factory - current preferred option
  • A class name

Where to store:

  • Store payment type (identifier?) on the model - current preferred option
  • Store in a url parameter
  • Enforce a controller and rule for every payment type
  • Session?

This brings up more questions however. We're starting to rely more on this unified 'payment identifier' concept, which hasn't been thought through really well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant