lib/active_merchant/billing/integrations/pxpay/helper.rb in activemerchant-1.34.1 vs lib/active_merchant/billing/integrations/pxpay/helper.rb in activemerchant-1.35.0

- old
+ new

@@ -1,6 +1,7 @@ -require 'active_support/core_ext/float/rounding.rb' # Float#round(precision) +require 'active_support/version' # for ActiveSupport2.3 +require 'active_support/core_ext/float/rounding.rb' unless ActiveSupport::VERSION::MAJOR > 3 # Float#round(precision) module ActiveMerchant #:nodoc: module Billing #:nodoc: module Integrations #:nodoc: module Pxpay @@ -11,10 +12,10 @@ # # PxPay accounts have Failproof Notification enabled by default which means # in addition to the user being redirected to your return_url, the return_url will # be accessed by the PxPay servers directly, immediately after transaction success. # - # payment_service_for('order_id', 'pxpay_user_ID', :service => :pxpay, + # payment_service_for('order_id', 'pxpay_user_ID', :service => :pxpay, # :amount => 157.0, :currency => 'USD', :credential2 => 'pxpay_key') do |service| # # service.customer :email => 'customer@email.com' # # service.description 'Order 123 for MyStore'