Module: Payments::IntegrationsHelper

Defined in:
app/helpers/payments/integrations_helper.rb

Instance Method Summary collapse

Instance Method Details

#paypal_additional_data_hashObject



4
5
6
7
8
9
10
11
# File 'app/helpers/payments/integrations_helper.rb', line 4

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