Sha256: 0e10dd0928b493372b0828ecf89f5a8aff6bdd537eb88fdb6accf5c8a22846ac

Contents?: true

Size: 288 Bytes

Versions: 1

Compression:

Stored size: 288 Bytes

Contents

# frozen_string_literal: true

module Payments::IntegrationsHelper
  def paypal_additional_data_hash
    {
      orderid: @payment.order.number,
      invoiceid: @payment.id,
      customerid: current_account.try(:profile).try(:id),
      satellite: Settings.satellite_id
    }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/helpers/payments/integrations_helper.rb