Merge pull request #2572 from internetee/skip-csrf-verification

comment out payment check verification
This commit is contained in:
Timo Võhmar 2023-05-05 16:35:59 +03:00 committed by GitHub
commit 00c068d5a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions

View file

@ -12,7 +12,7 @@ class PaymentOrder < ApplicationRecord
belongs_to :invoice, optional: false
validate :invoice_cannot_be_already_paid, on: :create
validate :supported_payment_method
# validate :supported_payment_method
enum status: { issued: 'issued', paid: 'paid', cancelled: 'cancelled',
failed: 'failed' }