Up to [Local Repository] / interchange / lib / Vend
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
* If the tmp/wget directory (or more properly "$Vend::Cfg->{ScratchDir}/wget"
directory did not exist, use_wget mode would error out.
Change code to make directory if non-existent, and give better error
if by some strange chance a file existed there.
* If the tmp/wget directory (or more properly "$Vend::Cfg->{ScratchDir}/wget"
directory did not exist, use_wget mode would error out.
Change code to make directory if non-existent, and give better error
if by some strange chance a file existed there.
* Updated copyright headers to 2007 (closes bug #102) * Added GPL and copyright headers to a few files that were missing them.
New Free Software Foundation Address in headers of various files
New Free Software Foundation Address in headers of various files
Map order number and transaction id variables to allow their use without remap.
* Make wget adaptation a bit more secure by seeking/rewriting the file to wipe contents a bit before unlinking.
* We are having frequent problems with terminated output with Authorizenet and other payment modules using LWP. Symptom is a 500 server error from AuthorizeNet, which should be their problem, but they claim this is not happening and payment is actually being maded despite 500 response from LWP. * Add "use_wget" option to Vend::Payment routine post_data(). This allows use of the ubiquitous GNU wget program to send the transaction. * Slight security risk in that the credit card is put in a file for posting -- there is no way for wget to use STDIN or a pipe, as it doesn't accept a content-length setting. Storing in a file or passing on command line, take your pick for security problems. We unlink the file except when in debug mode, so should be fairly secure. * To implement, just add in catalog.cfg: Route authorizenet use_wget 1 If your wget is not in the standard PATH, put its location there: Route authorizenet use_wget /usr/local/bin/wget * Tested with at least AuthorizeNet. Should work with any. * Obviously requires wget be linked against an SSL library, which is standard for modern Linux. * Developed with and tested against wget 1.9 on Fedora, but with the stability of GNU programs will probably work with others.
* Integrate AuthorizeNet ECHECK payment method. * Change variables in STANDARD demo to match the ones that are in Payment.pm, i.e. check_acct -> check_account, check_route --> check_routing * Add check_bankname, check_accttype, check_acctname to standard demo when the MV_ONLINE_CHECK_MODE is in use. * Add routine in etc/log_transaction to do the ECHECK and treat it as an online realtime payment. * All of this will certify and list Interchange with AuthorizeNet as a supported cart.
Pass credit card security code through to Verisign if provided in CGI parameter mv_credit_card_cvv2.
* Make billing address transfer conditional on b_address1 and b_city being set. You can determine which billing items are transferred with: Variable MV_PAYMENT_BILLING_SET <<EOV b_address1 b_address2 b_address3 b_city b_state b_zip b_country EOV And which trigger the setting: Variable MV_PAYMENT_BILLING_INDICATOR b_address1 b_city Those are the defaults.
The great copyright, email address, URL, and version update.
Map company and b_company for payment use.
updated LINUXIA branch to 4.9 sources in order to use it as testbed again
Update copyright dates.
Merge from trunk: * Patch to display errors from payment modules in credit card header on checkout page.
patch to display errors from payment modules in credit card header on checkout page.
Sweeping update of Akopia/Red Hat references, to prepare for 4.8 release with current Interchange URLs and contact information.
* Remove support for old Minivend 3 cyber_charge call * Remove unused "report_field" routine, not needed now that Minivend 2 order report style is no longer supported
* Major update to order status functions in UI. Much of this is funded thanks to Gary Norton and Broadgap Technologies. * Created new update_order_status.tag usertag which does most of the functions done previously in admin/order_status.html * Order status funky page code replaced with [table-editor version]. * Now can "Shipped checked orders". If you check the ship_auto check box, it will: -- settle CC charge with payment processor if that is needed or wanted -- ship all lines on order -- update all status to shipped -- archive the order * Added following fields to transactions: auth_code -- contains authorization code needed for charge settlement tracking_number -- separate shipping tracking number from status Also updated log_transaction to insert auth_code if available. * Regularized database types for orderline and transactions * Removed unnecessary blank "reports" sampledata for orderline and transaction * Added much metadata for orderline, transactions, and payment settings * Fix auto-encryption of credit card number in Vend::Payment even if no EncryptKey or credit card number. * Modified Vend::Payment::TestPayment to allow testing of charge settlement. * Allow setting link-no-blank=1 in [table-editor] to prevent addition of rows in a linked table for a particular view. * To test out settlement and batch updates with Vend::Payment::TestPayment 1. Uncomment "Require" line in interchange.cfg. 2. Set following payment preferences in Administration->Preferences: MV_PAYMENT_MODE testpayment MV_PAYMENT_ID test SETTLE_TRANSACTION 1 3. Restart, place a new order, and use Order Manager to ship.
* Stop nonsensical setting of payment route from order route.
* A couple of minor changes making mv_order_number and payment order ID honor a sql_counter setting.
* Fixed bug where decimal pricing would not be forced, causing failure for round amounts with some gateways. * Additional debug put in DEVEL, not stable, for future development. * Add penny_pricing option for those gateways which might not accept decimals.
* Fixed bug where decimal pricing would not be forced, causing failure for round amounts with some gateways. * Additional debug put in DEVEL, not stable, for future development.
Big copyright date update. This will be the last time that Red Hat copyright notices get updated en masse, since the bulk of new code will very likely come from non-Red Hat employees.
Update version number and copyright year, to prepare for the eventual day when we release version 4.8.4.
* Oops. Need to ignore MV_PAYMENT_GATEWAY, otherwise we will never be able to auto-set the payment type with the name of the routine.
* Change Order.pm so that it handles failed routes properly, even subroutes. * Get gateway from either Route or MV_PAYMENT_GATEWAY if not defined and there is no gateway.
Upping major version number after trunk/branch switch.
Move DEV_4_7_0 development branch to repository trunk.
Update copyright notices and email addresses. Standardize module headers and remove a few shebang lines.
* Change charge_param setting some, so we can make it a tag to
set routes that don't exist yet
* Add some variables in preparation for check processing
* Change Payment.pm to hold the post_data routine which is common
to iTransact, AuthorizeNet, and Skipjack. Modules not brought
in until one of those is loaded...
* Check for test mode. We will try and generate a test for each
payment type.
* Updates to docs and credits.
* Fix error string problems in iTransact, add test mode.
* Update AuthorizeNet to use either Net::SSLeay or Crypt::SSLeay.
* Fix AuthorizeNet response variables.
* Fix some typos causing error return problems (notably ErrMsg
instead of MErrMsg).
* All 5 major payment services supported are tested on both
failed and successful transactions:
CyberCash
AuthorizeNet
Signio
iTransact
Skipjack
* Doc updates to CyberCash module.
* Signio module added, works with PayFlow Pro 3.0, should be
backward compatible with 2.1x if I can find an executable and
account to test with.
* Updates to iTransact, mostly docs.
* Doc updates to AuthorizeNet.
* Remove order-id key in result hash when failure, rename to
failed-order-id. Prevents Signio from passing auth on a
decline.
* Update map_actual to include phone_day and email.
* Add iTransact module, hacked to use either Net::SSLeay or
Crypt::SSLeay.
* Remove "old_cybercash" routine, now fully offloaded to
Vend::Payment::CyberCash.
* Vend::Payment::CyberCash will still automatically be loaded at
startup for backward compatibility.
* Extensively rework Payment routines.
* Add Payment.pm module to contain the base routines, and be a
target for the routines added via the different Payment
modules.
* A pretty convenient mechanism to bring in modules:
Require module Vend::Payment::Authorize
Prevents errors and memory bloat(er) when Net::SSLeay or other
needed companion modules are present/not present, and should
give reasonable errors when the module is not working.
* Support old CyberCash stuff for now, will probably replace with
Payment/CyberCash.pm and some stubs.
* Initially have Authorize.net (Payment/Authorize.pm), rest will
follow shortly. These will be documented with in-module POD.
* There will be a Vend::Payment::Skeleton to show adding your own
payment module.
* GlobalSub method still supported, current GlobalSub things
should work fine (tested with Authorize.net and "custom
authorizenet" mode).
* Beginnings of PayPal support will be there shortly, but
thinking of how to generalize that
send-offsite-then-return-post paradigm.
* Should be completely backward compatible.
* All payment stuff taken out of Vend::Order except _charge
profile interface routine, a couple of stubs left for backward
compatiblity.
* Parameters can be completely Route resident, no MV_PAYMENT_*
variables needed.
* Changed mv_credit_card_info to delete all but
mv_credit_card_reference digits when not encrypted. This is
overdue....
* Added "cascade" route capability, that allows you to specify
one master order route that calls the rest of the routes.
Perhaps an interface in payment mode to add some logging....??
file Payment.pm was initially added on branch DEV_4_7_0.