[ic] PaypalExpress payment module update

Stefan Hornburg (Racke) racke at linuxia.de
Wed Apr 11 07:48:05 UTC 2012


On 02/21/2012 11:54 PM, Lyn St George wrote:
> This is a major update. It adds itemised billing to the checkout at Paypal. It
> does not send discounts or coupons as there are too many ways to get the
> numbers wrong and have Paypal reject the transaction, but it will optionally
> display a note telling the customer that discounts will be applied later.
>
> It adds repeat billing, up to 10 billing agreements (the API maximum) at a
> time. Agreements may be set with or without an initial payment, with optional
> trial periods, with fixed or open-ended schedules, or any other variation
> allowed by the API. There are functions to manage repeat billings (only useful
> from some kind of admin panel), a function to bill outstanding arrears, and a
> function to put all details of an agreement into scratch space so as to
> display the results to a customer (or admin)
>
> It also does refunds, masspay, 'send credit' to a credit card, and will get
> the balance of an account for display (including multi-currency sub accounts).
>
> Find it on http://kiwi.zolotek.net
>

Hello, Lyn!

I updated the version in Interchange's repository as well. One thing that
has changed recently is that you force the credentials for the sandbox
to be prefixed with sandbox_, otherwise you get the error

"You do not have permissions to make this API call".

I would like to change the code to fallback to the credential without prefix
in this case, as this allows to handle the different credentials through
"VariableDatabase" site, which is IMHO the standard way to use the same
catalog.cfg for production/development.

The second thing is that API calls without any credentials should produce
a better error message instead of making a call to paypal which fails for
sure.

What do you think?

Do you have any (public) repository for your payment modules?

Regards + thanks for all your work for Interchange

        Racke

-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team




More information about the interchange-users mailing list