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

refactor: Authorizenet Integration #1344

Merged

Conversation

DeveloperMetal
Copy link

@DeveloperMetal DeveloperMetal commented Jun 1, 2021

TASK: https://app.asana.com/0/1199639423748061/1200392846186624/f

Additions:

  • Adds reference_docname as refId value for authnet transaction to track order processing
  • Test authorizenet for previous charges before submitting credit card
  • On network drop or timeout, frontend attempts to fetch status every 5 seconds for 30 seconds before giving up
  • Adds status check before loading card form to check for successful processing before taking payment again
  • Status checks Integration Request for abandoned Queued request over a certain period of time before considering them failed.
  • Adds lastpass data flag to prevent passwords prompts on all form fields.
  • Added 10 second duplicate window guard
  • Added "retry" helper method that handles running processes multiple times with on_success and on_fail predicates.
  • Added unit tests for retry helper

New Loading state which checks backend for previously successful charge:
authnet-form-load-state

Card decline test. Use cvv 901 to force decline:
authnet-declined-test

Success card charge after correcting a decline:
authnet-charge-after-decline

Issue card processing and force offline error. Watch console retry 3 times before browser goes back online and succeeding:
authnet-survive-disconnect

Submit valid card for processing and user presses reload button . Watch for pre state check complete and forward user after the refresh:
authnet-survive-refresh-during-charge

@sahil28297 sahil28297 changed the title Feat improve authnet refactor: Authorizenet Integration Jun 2, 2021
DeveloperMetal and others added 12 commits June 2, 2021 09:57
…horizenet_settings.py

Co-authored-by: sahil28297 <37302950+sahil28297@users.noreply.github.com>
…horizenet_settings.py

Co-authored-by: sahil28297 <37302950+sahil28297@users.noreply.github.com>
Co-authored-by: sahil28297 <37302950+sahil28297@users.noreply.github.com>
Co-authored-by: sahil28297 <37302950+sahil28297@users.noreply.github.com>
Co-authored-by: sahil28297 <37302950+sahil28297@users.noreply.github.com>
Co-authored-by: sahil28297 <37302950+sahil28297@users.noreply.github.com>
@sahil28297 sahil28297 merged commit 0bf1a18 into Bloomstack:bs-may-sprint-2 Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants