Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hapi-middleman-paypal-intacct

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi-middleman-paypal-intacct

hapi-middleman module for integrating paypal with intacct

  • 0.0.79
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Build Status Coverage Status npm version Dependency Status devDependency Status MIT license

hapi-middleman-paypal-intacct

Hapi Middleman module to integrate between Intacct and PayPal. This package is meant to be installed with the generator application but can be installed manually as well.

Environment Variables

Environment variables control the configuration of this plugin.

Required Variables

Required environment variables for ALL functionality.

INTACCT_SENDER_ID

Intacct Sender ID credential. Given by Intacct

INTACCT_SENDER_PASSWORD

Intacct Sender Password credential. Given by Intacct

INTACCT_USER_ID

Intacct User ID credential. From Intacct users

INTACCT_USER_PASSWORD

Intacct User Password credential. From Intacct users

INTACCT_COMPANY_ID

Intacct Company ID. From Intacct

PAYPAL_CLIENT_ID

PayPal REST API Client ID. From developer.paypal.com

PAYPAL_CLIENT_SECRET

PayPal REST API Client Secret. From Intacct users

PAYPAL_MODE

PayPal environment
Values: "sandbox" or "production"

PAYPAL_WEBHOOK_HOSTNAME

URL to receive PayPal Webhooks. Must be https. The def
Value: Add /paypal/webhooks/listen to your hostname. Ex: https://example.com/paypal/webhooks/listen

Required Invoicing Variables

Required environment variables for invoicing functionality

PAYPAL_INVOICE_MERCHANT_EMAIL

PayPal Merchant Email. This is required to be the email address associated with your REST client id.

INTACCT_INVOICE_PAYMENT_DEFAULT_ACCOUNT

The default Intacct account id to submit payments against. If a currency account is not setup it will automatically submit payments to this account.

INTACCT_INVOICE_START_DATE

Sets the date to start picking up invoices. Set this to your go live date. valid dates are MM/DD/YYYY

Optional Invoicing Variables

Optional environment variables for invoicing functionality

PAYPAL_INVOICE_MERCHANT_FIRST_NAME

Biller first name that shows up on invoice

PAYPAL_INVOICE_MERCHANT_LAST_NAME

Biller last name that shows up on invoice

PAYPAL_INVOICE_MERCHANT_BUSINESS_NAME

Biller business name that shows up on invoice

PAYPAL_INVOICE_MERCHANT_PHONE_COUNTRY_CODE

Biller phone country code that shows up on invoice
Default: 1

PAYPAL_INVOICE_MERCHANT_PHONE_NUMBER

Biller phone number that shows up on invoice

PAYPAL_INVOICE_MERCHANT_ADDRESS_LINE1

Biller street address that shows up on invoice

PAYPAL_INVOICE_MERCHANT_ADDRESS_LINE2

Biller additional street address that shows up on invoice

PAYPAL_INVOICE_MERCHANT_ADDRESS_CITY

Biller city address that shows up on invoice

PAYPAL_INVOICE_MERCHANT_ADDRESS_STATE

Biller additional state address that shows up on invoice
2 character state

PAYPAL_INVOICE_MERCHANT_COUNTRY_POSTAL_CODE

Biller zip code that shows up on invoice

INTACCT_INVOICE_CREATE_QUERY

Override the default intacct query for invoices to create.
Default: "RAWSTATE = 'A' AND (PAYPALINVOICESTATUS IS NULL OR PAYPALINVOICESTATUS NOT IN ('CANCELLED')) AND TOTALDUE NOT IN (0)"

INTACCT_INVOICE_CREATE_AUTO

Controls automatic creation of invoices. If false it will require that the PAYPALINVOICING checkbox be checked on the Intacct Custom field
Default: true

INTACCT_INVOICE_CREATE_LATER

Controls the cron job for creating invoices. Anything that can be parsed by later package
Default: "every 1 hour"

INTACCT_INVOICE_REFUND_QUERY

Override the default intacct query for invoices to refund.
Default: "RAWSTATE = 'V' AND PAYPALINVOICESTATUS NOT IN ('REFUNDED', 'CANCELLED')"

INTACCT_INVOICE_REFUND_AUTO

Controls automatic refunding of invoices. If false it will require that the PAYPALINVOICING checkbox be checked on the Intacct Custom field
Default: true

INTACCT_INVOICE_REFUND_LATER

Controls the cron job for refunding invoices. Anything that can be parsed by later package
Default: "every 1 hour"

INTACCT_INVOICE_PAYMENT_USD_ACCOUNT

he intacct account to submit payments of USD to. If set then PayPal invoices of type USD will go to this intacct account.

Keywords

FAQs

Package last updated on 28 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc