This help file is intended for site administrators and developers.

Our Association Management Software is open source. It currently supports the following payment gateways. 

  1. Stripe (SSL is required) - RECOMMENDED
  2. Authorize.net (SIM) (We also support CIM for the recurring payment. But it hasn't been integrated with any of the other modules yet).
  3. PayPal Payflowlink
  4. PayPal Payment Standard
  5. First Data Global Gateway e4

Note: Developers can view the code on github https://github.com/tendenci/tendenci/

Once you have a merchant account ready, it's time to configure your site to accept online payment by following the steps below for the payment gateway you've chosen. For security reason, the sensitive information is stored in the /var/www/site_name/.env which requires server access (call Tendenci support if you need any assistance).

1. Setup for stripe: [RECOMMENDED]

1) Add or change the value of 2 setting variables in the conf/local_settings.py:

        STRIPE_SECRET_KEY

        STRIPE_PUBLISHABLE_KEY

2) Update the site setting Merchant Account https://www.example.com/settings/site/global/#id_merchantaccount to:

        stripe

3) Set up SSL on the site.  Although your site does not store credit card info and the credit card data transmission is over stripe's secure post url. SSL is still required for a couple of reasons.

After everything is set, you can test it by making a general payment on your site via https://www.example.com/py/

2. Setup for Authorize.net:

1) Add or change the value of 3 setting variables in the conf/local_settings.py:

        MERCHANT_LOGIN

        MERCHANT_TXN_KEY

        AUTHNET_MD5_HASH_VALUE

2) Update the site setting Merchant Account https://www.example.com/settings/site/global/#id_merchantaccount to:

        authorizenet

3) In the Authorize.net merchant interface set up your response URLs like this (you don't need defaults)

authorizenet-response-receipt-urls-tendenci.png

Thus the resulting URL will be one of these TWO possible URLs and must exactly match the canonical URL from your site settings.

https://www.example.com/payments/authorizenet/thankyou/

and if using https (which you should be!) it is:

https://www.example.com/payments/authorizenet/thankyou/

And again, check your site settings and see this help file for more on Tendenci site settings. Jump to the Site URL portion. If your site settings Site URL does not match (e.g. https://www.example.org/ with the protocol) it will not work with Authorize.net. If you are getting error 14, this is most likely the problem.

      If silent post is enabled, specify the silent post url.

            https://www.example.com/payments/authorizenet/silent-post/       

4) Set up MD5-Hash:

In the Authorize.net merchant interface, click Account then MD5-Hash. Specify the hash value and submit. Assign this hash value to "AUTHNET_MD5_HASH_VALUE" in the conf/local_settings.py

 

Setup for First Data e4:

1) Log in to your First Data e4 account. Create a Receipt page if it doesn't already exists.

    - Select option 1 or 2.

    - Enter Receipt Link: https://www.example.com/payments/firstdatae4/thankyou/

    - Enter Silent Post URL: https://www.example.com/payments/firstdatae4/silent-post/

1) Set up keys in conf/local_settings.py:

        MERCHANT_LOGIN = 'your merchant login'

        MERCHANT_TXN_KEY = 'your transaction key

        FIRSTDATA_RESPONSE_KEY = 'your response key'

2) Update the site setting Merchant Account https://www.example.com/settings/site/global/#id_merchantaccount according to:

        firstdatae4      

(If you're on this page but setting up for a T4 site, the Receipt and Silent Post links are:

Receipt Link: https://www.example.com/en/invoices/payments/firstdatae4/thankyou.asp
Silent Post Link: https://www.example.com/en/invoices/payments/firstdatae4/silentpost.asp

)

 

Setup for PayPal PayFlowLink:

1) Add or change the value of 2 setting variables in the conf/local_settings.py:

        PAYPAL_MERCHANT_LOGIN

        PAYFLOWLINK_PARTNER

2) Update the site setting Merchant Account https://www.example.com/settings/site/global/#id_merchantaccount to:

        paypal

3) Configure your merchant account on PayPal:

        Log in to your account, then go to Service Settings -> Set Up

        A) Under Payment Confirmation, next to Show confirmation page, select On a PayPal hosted page.

        B) Enter Return URL:

            https://www.example.com/payments/payflowlink/thankyou/

        C) Set Return URL Method to: Post

        D) Under Silent Post for Data Transfer,

            Set Use Silent Post to: Yes

            Enter Silent Post URL to:

            https://www.example.com/payments/payflowlink/silentpost/                   

 

Setup for PayPal Payment Standard:

1) Add or change the value of 2 setting variables in the conf/local_settings.py:

        PAYPAL_MERCHANT_LOGIN    -- this is your account primary email address.

        MERCHANT_TXN_KEY   -- this is the value of Identity Token which can be found under Profile> Profile and Settings > My Selling Tools > Website preferences

 

2) Update the site setting Merchant Account https://www.example.com/settings/site/global/#id_merchantaccount to:

        paypal

3) Configure your PayPal account:

        Log in to your account

 

        A) Click the Profile link at the top of your page. Then click Profile and Settings then Selling Preferences or My selling tools.

Next to the Website preferences line, click Update. This opens up a new page.

             1) Turn on Auto Return

             2) Enter Return URL:

                  https://www.example.com/payments/paypal/thankyou/

             3) Turn on Payment Data Transfer

              Copy the Identity token  to be added to MERCHANT_TXN_KEY in your conf/local_settings.py:

 

        B) Click back into My selling tools. Next to the Instant payment notifications line, click Update. This opens up a new page.

              Turn on IPN.

              Enter the Notification URL:

               https://www.example.com/payments/paypal/ipn/

 

 

 

 

 

Stay connected. Bookmark our works-with page for updates. 

 

 

 

 

 

 

Contact us to upgrade to Tendenci!

Finally, an open source option for associations. Fully functional. 100% customizable.

Give us a call: (281) 497-6567

Sign up for Tendenci

No per user pricing. Unlimited admins.

Demo Now

Still have Questions?

Contact us!

Site Search