PRN = Payment Routing Number, effectively the gateway account ID to which the user belongs.

 

From: Luis Lopez [mailto:notifications@github.com] 
Sent: Thursday, October 24, 2013 5:49 PM
To: Shopify/active_merchant
Subject: Re: [active_merchant] Added PacNet gateway (#810)

 

In lib/active_merchant/billing/gateways/raven_pac_net.rb:

> +      self.homepage_url = 'http://www.pacnetservices.com/'
> +
> +      # The name of the gateway
> +      self.display_name = 'Raven PacNet'
> +
> +      def initialize(options = {})
> +        requires!(options, :user, :secret, :prn)
> +        super
> +      end
> +
> +      def authorize(money, creditcard, options = {})
> +        post = {}
> +        add_creditcard(post, creditcard)
> +        add_currency_code(post, money, options)
> +        add_address(post, options)
> +        post['PRN'] = @options[:prn]

PRN option is one of the required credentials that PacNet supplies to the customer.

—
Reply to this email directly or view it on GitHub <https://github.com/Shopify/active_merchant/pull/810/files#r7202701> .  <https://github.com/notifications/beacon/o8M_9fA8Mgs0x4wK_TCZ31eg55geYXrszDxVPkkUt4te4b6F-nlXEsrUaNZ42Ku6.gif>