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

Remove Braintree #2424

Merged
merged 67 commits into from
Aug 23, 2016
Merged

Remove Braintree #2424

merged 67 commits into from
Aug 23, 2016

Conversation

kpuputti
Copy link
Contributor

@kpuputti kpuputti commented Aug 18, 2016

TODO

  • Restore Braintree translations that are using by PayPal
  • Grep :paypal and check all if/else branches and possibly raise exceptions in else branches
  • Remove VAT (communities.vat column and maybe some related code?)
  • Remove PaymentsController
  • Remove PostPayTransactionController
  • Grep "post_pay" and "PostPay"
  • Remove postpay steps from the statemachine
  • Grep "escrow"
  • Grep "invoice"
  • Grep and remove "payment_reminder"
  • Grep "community.payment_gateway"
  • Remove transaction has_one payment
  • Remove community.has_one payment_gateway
  • Remove testimonials_in_use code

:email_about_confirm_reminders,
:email_about_testimonial_reminders,
:email_about_completed_transactions,
:email_about_new_payments,
:email_about_payment_reminders,
Copy link
Contributor

Choose a reason for hiding this comment

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

is this only about postpay too? There's payments in every flow, right?

Copy link
Contributor

Choose a reason for hiding this comment

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

No wait, I get it, in prepay there's no tx process without payment.

# Deprecated adapters.
# We need these to be here, otherwise reading the old transactions will fail
checkout: TransactionService::Gateway::FreeAdapter.new,
braintree: TransactionService::Gateway::FreeAdapter.new,
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you think about solving this at the origin of the failure instead of providing fake adapters?

@kpuputti kpuputti merged commit 0576ef4 into master Aug 23, 2016
@kpuputti kpuputti deleted the remove-braintree branch August 23, 2016 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants