upgrades: rename stripe_id to transaction_id
* Rename the stripe_id column to transaction_id. * Add a new payment_processor column to identity the processor used for this transaction (and hence, which backend system the transaction_id is for).
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
# @see app/logical/payment_transaction/stripe.rb
|
||||
class PaymentTransaction
|
||||
attr_reader :user_upgrade
|
||||
delegate :recipient, :purchaser, :upgrade_type, :pending?, :stripe_id, to: :user_upgrade
|
||||
delegate :recipient, :purchaser, :upgrade_type, :pending?, :transaction_id, to: :user_upgrade
|
||||
|
||||
def initialize(user_upgrade)
|
||||
@user_upgrade = user_upgrade
|
||||
|
||||
Reference in New Issue
Block a user