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.72
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-20%
Maintainers
1
Weekly downloads
 
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. The table below lists the environment variables and their functionality.

Variable required by all functionality

NameDescriptionValuesDefaultRequired
INTACCT_SENDER_IDIntacct Sender ID credential. Given by Intacctstringundefinedtrue
INTACCT_SENDER_PASSWORDIntacct Sender Password credential. Given by Intacctstringundefinedtrue
INTACCT_USER_IDIntacct User ID credential. From Intacctstringundefinedtrue
INTACCT_USER_PASSWORDIntacct User Password. From Intacctstringundefinedtrue
INTACCT_COMPANY_IDIntacct Company ID. From Intacctstringundefinedtrue
PAYPAL_CLIENT_IDPayPal REST API Client IDstringundefinedtrue
PAYPAL_CLIENT_SECRETPayPal REST API Client Secredstringundefinedtrue
PAYPAL_MODEPayPal Environment"sandbox" or "production"undefinedtrue
PAYPAL_WEBHOOK_HOSTNAMEURL to receive PayPal Webhooks. Must be httpsURLthe default route is /paypal/webhooks/listen. Ex: https://yourhostname.com/paypal/webhooks/listentrue

Invoicing Variables

NameDescriptionValuesDefaultRequired
PAYPAL_MERCHANT_EMAILPayPal Merchant Email. This is required to be the email address associated with your REST client id.email addressundefinedtrue
PAYPAL_INVOICE_MERCHANT_FIRST_NAMEBiller first name that shows up on invoicestringundefinedfalse
PAYPAL_INVOICE_MERCHANT_LAST_NAMEBiller last name that shows up on invoicestringundefinedfalse
PAYPAL_INVOICE_MERCHANT_BUSINESS_NAMEBiller Business name that shows up on invoicestringundefinedfalse
PAYPAL_INVOICE_MERCHANT_PHONE_COUNTRY_CODECountry code of biller phone number that shows up on invoicenumber1false
PAYPAL_INVOICE_MERCHANT_PHONE_NUMBERPhone number of biller that shows up on invoicenumberundefinedfalse
PAYPAL_INVOICE_MERCHANT_ADDRESS_LINE1Biller street that shows up on invoicestringundefinedfalse
PAYPAL_INVOICE_MERCHANT_ADDRESS_LINE2Biller additional street that shows up on invoicestringundefinedRequired if any other address info is present
PAYPAL_INVOICE_MERCHANT_ADDRESS_CITYBiller city that shows up on invoicestringundefinedRequired if any other address info is present
PAYPAL_INVOICE_MERCHANT_ADDRESS_STATEState of biller that shows up on invoicestringundefinedRequired if any other address info is present
PAYPAL_INVOICE_MERCHANT_COUNTRY_POSTAL_CODEPostal code of biller that shows up on invoicestringundefinedRequired if any other address info is present
INTACCT_INVOICE_CREATE_QUERYOverride the default intacct query for invoices to create.string"RAWSTATE = 'A' AND (PAYPALINVOICESTATUS IS NULL OR PAYPALINVOICESTATUS NOT IN ('CANCELLED')) AND TOTALDUE NOT IN (0)"false
INTACCT_INVOICE_CREATE_AUTOControls automatic creation of invoices. If false it will require that the PAYPALINVOICING checkbox be checked on the Intacct Custom fieldstringtruetrue
INTACCT_INVOICE_CREATE_LATERControls the cron job for creating invoices.string: anything that can be parsed by later packageevery 1 hourtrue
INTACCT_INVOICE_REFUND_QUERYOverride the default intacct query for invoices to refund.string"RAWSTATE = 'V' AND PAYPALINVOICESTATUS NOT IN ('REFUNDED', 'CANCELLED')"false
INTACCT_INVOICE_REFUND_AUTOControls automatic refunding of invoices. If false it will require that the PAYPALINVOICING checkbox be checked on the Intacct Custom fieldstringtruetrue
INTACCT_INVOICE_REFUND_LATERControls the cron job for creating invoices.string: anything that can be parsed by later packageevery 1 daytrue
INTACCT_INVOICE_PAYMENT_DEFAULT_ACCOUNTThe default Intacct account id to submit payments against. If a currency account is not setup it will automatically submit payments to this account.stringundefinedtrue
INTACCT_INVOICE_PAYMENT_USD_ACCOUNTThe intacct account to submit payments of USD to.stringundefinedfalse
INTACCT_INVOICE_START_DATESets the date to start picking up invoices. Set this to your go live date.string: '8/24/2017'undefinedtrue

Keywords

FAQs

Package last updated on 25 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