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

Already on GitHub? Sign in to your account

Validating gateway data #18

Open
jedateach opened this Issue Jul 10, 2012 · 0 comments

Comments

Projects
None yet
1 participant
Collaborator

jedateach commented Jul 10, 2012

Rather than throwing a user_error, I think the 'verifyPaymentData' function should return false, and store an error message.

Also, I think verifyPaymentData should be called 'validate'.

SilverStripe has form validation, or model data being set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment