npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

paypal-integrations-intacct

v0.0.84

Published

Integration between paypal and intacct using hapi.

Downloads

2

Readme

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

paypal-integrations-intacct

Hapi 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.