Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
hapi-middleman-paypal-intacct
Advanced tools
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 control the configuration of this plugin. The table below lists the environment variables and their functionality.
Name | Description | Values | Default | Required |
---|---|---|---|---|
INTACCT_SENDER_ID | Intacct Sender ID credential. Given by Intacct | string | undefined | true |
INTACCT_SENDER_PASSWORD | Intacct Sender Password credential. Given by Intacct | string | undefined | true |
INTACCT_USER_ID | Intacct User ID credential. From Intacct | string | undefined | true |
INTACCT_USER_PASSWORD | Intacct User Password. From Intacct | string | undefined | true |
INTACCT_COMPANY_ID | Intacct Company ID. From Intacct | string | undefined | true |
PAYPAL_CLIENT_ID | PayPal REST API Client ID | string | undefined | true |
PAYPAL_CLIENT_SECRET | PayPal REST API Client Secred | string | undefined | true |
PAYPAL_MODE | PayPal Environment | "sandbox" or "production" | undefined | true |
PAYPAL_WEBHOOK_HOSTNAME | URL to receive PayPal Webhooks. Must be https | URL | the default route is /paypal/webhooks/listen. Ex: https://yourhostname.com/paypal/webhooks/listen | true |
Name | Description | Values | Default | Required |
---|---|---|---|---|
PAYPAL_MERCHANT_EMAIL | PayPal Merchant Email. This is required to be the email address associated with your REST client id. | email address | undefined | true |
PAYPAL_INVOICE_MERCHANT_FIRST_NAME | Biller first name that shows up on invoice | string | undefined | false |
PAYPAL_INVOICE_MERCHANT_LAST_NAME | Biller last name that shows up on invoice | string | undefined | false |
PAYPAL_INVOICE_MERCHANT_BUSINESS_NAME | Biller Business name that shows up on invoice | string | undefined | false |
PAYPAL_INVOICE_MERCHANT_PHONE_COUNTRY_CODE | Country code of biller phone number that shows up on invoice | number | 1 | false |
PAYPAL_INVOICE_MERCHANT_PHONE_NUMBER | Phone number of biller that shows up on invoice | number | undefined | false |
PAYPAL_INVOICE_MERCHANT_ADDRESS_LINE1 | Biller street that shows up on invoice | string | undefined | false |
PAYPAL_INVOICE_MERCHANT_ADDRESS_LINE2 | Biller additional street that shows up on invoice | string | undefined | Required if any other address info is present |
PAYPAL_INVOICE_MERCHANT_ADDRESS_CITY | Biller city that shows up on invoice | string | undefined | Required if any other address info is present |
PAYPAL_INVOICE_MERCHANT_ADDRESS_STATE | State of biller that shows up on invoice | string | undefined | Required if any other address info is present |
PAYPAL_INVOICE_MERCHANT_COUNTRY_POSTAL_CODE | Postal code of biller that shows up on invoice | string | undefined | Required if any other address info is present |
INTACCT_INVOICE_CREATE_QUERY | Override 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_AUTO | Controls automatic creation of invoices. If false it will require that the PAYPALINVOICING checkbox be checked on the Intacct Custom field | string | true | true |
INTACCT_INVOICE_CREATE_LATER | Controls the cron job for creating invoices. | string: anything that can be parsed by later package | every 1 hour | true |
INTACCT_INVOICE_REFUND_QUERY | Override the default intacct query for invoices to refund. | string | "RAWSTATE = 'V' AND PAYPALINVOICESTATUS NOT IN ('REFUNDED', 'CANCELLED')" | false |
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 | string | true | true |
INTACCT_INVOICE_REFUND_LATER | Controls the cron job for creating invoices. | string: anything that can be parsed by later package | every 1 day | true |
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. | string | undefined | true |
INTACCT_INVOICE_PAYMENT_USD_ACCOUNT | The intacct account to submit payments of USD to. | string | undefined | false |
INTACCT_INVOICE_START_DATE | Sets the date to start picking up invoices. Set this to your go live date. | string: '8/24/2017' | undefined | true |
FAQs
hapi-middleman module for integrating paypal with intacct
The npm package hapi-middleman-paypal-intacct receives a total of 3 weekly downloads. As such, hapi-middleman-paypal-intacct popularity was classified as not popular.
We found that hapi-middleman-paypal-intacct demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.