Spree::CheckoutController.class_eval do
  def permitted_source_attributes
    super.push(permitted_komoju_konbini_attributes)
    super.push(permitted_komoju_banktransfer_attributes)
    super.push(permitted_komoju_pay_easy_attributes)
    super.flatten.uniq
  end

  private

  def permitted_komoju_konbini_attributes
    :convenience
  end

  def permitted_komoju_banktransfer_attributes
    [:email, :phone, :family_name, :given_name, :family_name_kana, :given_name_kana]
  end

  def permitted_komoju_pay_easy_attributes
    [:email, :phone, :family_name, :given_name, :family_name_kana, :given_name_kana]
  end
end


Spree::CheckoutController.class_eval do
  def permitted_source_attributes
    super.push(permitted_komoju_konbini_attributes)
    super.push(permitted_komoju_banktransfer_attributes)
    super.push(permitted_komoju_pay_easy_attributes)
    super.push(permitted_komoju_web_money_attributes)
    super.flatten
  end

  private

  def permitted_komoju_konbini_attributes
    :convenience
  end

  def permitted_komoju_banktransfer_attributes
    [:email, :phone, :family_name, :given_name, :family_name_kana, :given_name_kana]
  end

  def permitted_komoju_pay_easy_attributes
    [:email, :phone, :family_name, :given_name, :family_name_kana, :given_name_kana]
  end

  def permitted_komoju_web_money_attributes
    [:email, :prepaid_number]
  end
end

Add permitted attributes for webmoney
Add permitted attributes for webmoney
