Interchange

CVS log for interchange/lib/Vend/Payment.pm

[BACK] Up to [Local Repository] / interchange / lib / Vend

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 2.19.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 16 00:39:24 2008 UTC (5 months, 3 weeks ago) by mheins
Branches: STABLE_5_6-branch
CVS tags: REL_5_6_1, DEB_5_6_1_2
Diff to: previous 2.19: preferred, colored; next MAIN 2.20: preferred, colored
Changes since revision 2.19: +13 -2 lines
* 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.

Revision 2.20: download - view: text, markup, annotated - select for diffs
Wed Jul 16 00:37:32 2008 UTC (5 months, 3 weeks ago) by mheins
Branches: MAIN
CVS tags: REL_5_7_1, HEAD
Diff to: previous 2.19: preferred, colored
Changes since revision 2.19: +13 -2 lines
* 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.

Revision 2.19: download - view: text, markup, annotated - select for diffs
Thu Aug 9 13:40:53 2007 UTC (17 months ago) by pajamian
Branches: MAIN
CVS tags: STABLE_5_6-root, REL_5_5_3, REL_5_5_2, REL_5_5_1, DEB_5_5_1_1_1, DEB_5_5_1
Branch point for: STABLE_5_6-branch
Diff to: previous 2.18: preferred, colored
Changes since revision 2.18: +3 -3 lines
* Updated copyright headers to 2007 (closes bug #102)

* Added GPL and copyright headers to a few files that were missing them.

Revision 2.16.2.1: download - view: text, markup, annotated - select for diffs
Fri Mar 30 12:15:28 2007 UTC (21 months, 1 week ago) by pajamian
Branches: STABLE_5_4-branch
CVS tags: REL_5_4_3
Diff to: previous 2.16: preferred, colored; next MAIN 2.17: preferred, colored
Changes since revision 2.16: +4 -4 lines
New Free Software Foundation Address in headers of various files

Revision 2.18: download - view: text, markup, annotated - select for diffs
Fri Mar 30 11:39:45 2007 UTC (21 months, 1 week ago) by pajamian
Branches: MAIN
Diff to: previous 2.17: preferred, colored
Changes since revision 2.17: +4 -4 lines
New Free Software Foundation Address in headers of various files

Revision 2.17: download - view: text, markup, annotated - select for diffs
Thu Oct 26 22:33:40 2006 UTC (2 years, 2 months ago) by danb
Branches: MAIN
Diff to: previous 2.16: preferred, colored
Changes since revision 2.16: +4 -2 lines
Map order number and transaction id variables to allow their use without remap.

Revision 2.16: download - view: text, markup, annotated - select for diffs
Wed May 4 01:12:26 2005 UTC (3 years, 8 months ago) by mheins
Branches: MAIN
CVS tags: STABLE_5_4-root, REL_5_4_2, REL_5_4_1, REL_5_4_0, REL_5_3_3, REL_5_3_2, DEB_5_3_0_20051028_1, DEB_5_3_0_20051004_1
Branch point for: STABLE_5_4-branch
Diff to: previous 2.15: preferred, colored
Changes since revision 2.15: +12 -4 lines
* Make wget adaptation a bit more secure by seeking/rewriting the file
  to wipe contents a bit before unlinking.

Revision 2.15: download - view: text, markup, annotated - select for diffs
Tue May 3 17:41:42 2005 UTC (3 years, 8 months ago) by mheins
Branches: MAIN
Diff to: previous 2.14: preferred, colored
Changes since revision 2.14: +72 -5 lines
* 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.

Revision 2.14: download - view: text, markup, annotated - select for diffs
Tue Apr 27 19:25:14 2004 UTC (4 years, 8 months ago) by mheins
Branches: MAIN
Diff to: previous 2.13: preferred, colored
Changes since revision 2.13: +4 -2 lines
* 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.

Revision 2.13: download - view: text, markup, annotated - select for diffs
Tue Mar 30 18:56:05 2004 UTC (4 years, 9 months ago) by jon
Branches: MAIN
CVS tags: STABLE_5_2-root, STABLE_5_2-branch, REL_5_2_1, REL_5_2_0, REL_5_1_1, REL_5_1_0, DEB_5_2_1_1
Diff to: previous 2.12: preferred, colored
Changes since revision 2.12: +3 -2 lines
Pass credit card security code through to Verisign if provided in
CGI parameter mv_credit_card_cvv2.

Revision 2.12: download - view: text, markup, annotated - select for diffs
Thu Nov 13 16:12:41 2003 UTC (5 years, 1 month ago) by mheins
Branches: MAIN
CVS tags: STABLE_5_0-root, STABLE_5_0-branch, REL_5_0_2, REL_5_0_1, REL_5_0_0_RC2, REL_5_0_0_RC1, REL_5_0_0, DEB_5_0_0_2
Diff to: previous 2.11: preferred, colored
Changes since revision 2.11: +41 -4 lines
* 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.

Revision 2.11: download - view: text, markup, annotated - select for diffs
Wed Jun 18 17:34:44 2003 UTC (5 years, 6 months ago) by jon
Branches: MAIN
CVS tags: REL_4_9_9, REL_4_9_8, DEB_4_9_8_20031014_1, DEB_4_9_8_20031010_1, DEB_4_9_8_20030911_1, DEB_4_9_8_20030706_1, DEB_4_9_8_2
Diff to: previous 2.10: preferred, colored
Changes since revision 2.10: +4 -3 lines
The great copyright, email address, URL, and version update.

Revision 2.10: download - view: text, markup, annotated - select for diffs
Wed May 21 20:24:26 2003 UTC (5 years, 7 months ago) by jon
Branches: MAIN
Diff to: previous 2.9: preferred, colored
Changes since revision 2.9: +4 -2 lines
Map company and b_company for payment use.

Revision 2.9.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 25 22:21:28 2003 UTC (5 years, 11 months ago) by racke
Branches: LINUXIA
Diff to: previous 2.9: preferred, colored; next MAIN 2.10: preferred, colored
Changes since revision 2.9: +2 -2 lines
updated LINUXIA branch to 4.9 sources in order to use it as testbed again

Revision 2.2.2.5: download - view: text, markup, annotated - select for diffs
Fri Jan 24 06:51:52 2003 UTC (5 years, 11 months ago) by jon
Branches: STABLE_4_8-branch
CVS tags: REL_4_8_9, REL_4_8_8, REL_4_8_7
Diff to: previous 2.2.2.4: preferred, colored; branchpoint 2.2: preferred, colored; next MAIN 2.3: preferred, colored
Changes since revision 2.2.2.4: +3 -3 lines
Update copyright dates.

Revision 2.2.2.4: download - view: text, markup, annotated - select for diffs
Fri Jan 24 03:34:54 2003 UTC (5 years, 11 months ago) by jon
Branches: STABLE_4_8-branch
Diff to: previous 2.2.2.3: preferred, colored; branchpoint 2.2: preferred, colored
Changes since revision 2.2.2.3: +3 -2 lines
Merge from trunk:

* Patch to display errors from payment modules in credit card header on
  checkout page.

Revision 2.9: download - view: text, markup, annotated - select for diffs
Fri Dec 13 03:22:27 2002 UTC (6 years ago) by ramoore
Branches: MAIN
CVS tags: REL_4_9_6
Branch point for: LINUXIA
Diff to: previous 2.8: preferred, colored
Changes since revision 2.8: +3 -2 lines
patch to display errors from payment modules in credit card header
on checkout page.

Revision 2.2.2.3: download - view: text, markup, annotated - select for diffs
Tue Nov 26 03:21:10 2002 UTC (6 years, 1 month ago) by jon
Branches: STABLE_4_8-branch
Diff to: previous 2.2.2.2: preferred, colored; branchpoint 2.2: preferred, colored
Changes since revision 2.2.2.2: +4 -3 lines
Sweeping update of Akopia/Red Hat references, to prepare for 4.8 release
with current Interchange URLs and contact information.

Revision 2.8: download - view: text, markup, annotated - select for diffs
Mon Nov 18 16:33:47 2002 UTC (6 years, 1 month ago) by mheins
Branches: MAIN
CVS tags: REL_4_9_5, REL_4_9_4
Diff to: previous 2.7: preferred, colored
Changes since revision 2.7: +2 -6 lines
* 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

Revision 2.7: download - view: text, markup, annotated - select for diffs
Thu Oct 17 04:46:24 2002 UTC (6 years, 2 months ago) by mheins
Branches: MAIN
Diff to: previous 2.6: preferred, colored
Changes since revision 2.6: +3 -6 lines
* 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.

Revision 2.6: download - view: text, markup, annotated - select for diffs
Wed Jul 24 18:54:09 2002 UTC (6 years, 5 months ago) by mheins
Branches: MAIN
CVS tags: REL_4_9_2
Diff to: previous 2.5: preferred, colored
Changes since revision 2.5: +3 -4 lines
* Stop nonsensical setting of payment route from order route.

Revision 2.5: download - view: text, markup, annotated - select for diffs
Sun Jul 21 14:08:50 2002 UTC (6 years, 5 months ago) by mheins
Branches: MAIN
CVS tags: REL_4_9_1
Diff to: previous 2.4: preferred, colored
Changes since revision 2.4: +5 -3 lines
* A couple of minor changes making mv_order_number and payment order ID
  honor a sql_counter setting.

Revision 2.2.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 18 16:14:59 2002 UTC (6 years, 5 months ago) by mheins
Branches: STABLE_4_8-branch
CVS tags: REL_4_8_6, DEB_4_8_6_20021108_1
Diff to: previous 2.2.2.1: preferred, colored; branchpoint 2.2: preferred, colored
Changes since revision 2.2.2.1: +6 -2 lines
* 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.

Revision 2.4: download - view: text, markup, annotated - select for diffs
Thu Jul 18 16:13:56 2002 UTC (6 years, 5 months ago) by mheins
Branches: MAIN
Diff to: previous 2.3: preferred, colored
Changes since revision 2.3: +17 -2 lines
* 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.

Revision 2.3: download - view: text, markup, annotated - select for diffs
Mon Jun 17 22:24:08 2002 UTC (6 years, 6 months ago) by jon
Branches: MAIN
Diff to: previous 2.2: preferred, colored
Changes since revision 2.2: +3 -3 lines
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.

Revision 2.2.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 24 05:07:01 2002 UTC (6 years, 11 months ago) by jon
Branches: STABLE_4_8-branch
CVS tags: STRONGHOLD_4_8_4_approx, REL_4_8_5, REL_4_8_4, DEB_4_8_5_20020527_1, DEB_4_8_3_20020306_1
Diff to: previous 2.2: preferred, colored
Changes since revision 2.2: +3 -3 lines
Update version number and copyright year, to prepare for the eventual
day when we release version 4.8.4.

Revision 2.2: download - view: text, markup, annotated - select for diffs
Fri Jul 20 21:52:44 2001 UTC (7 years, 5 months ago) by heins
Branches: MAIN
CVS tags: STABLE_4_8-root, REL_4_8_3, REL_4_8_2, REL_4_8_1, REL_4_7_7, PRE_REL_4_8_0, DEB_4_8_1_2
Branch point for: STABLE_4_8-branch
Diff to: previous 2.1: preferred, colored
Changes since revision 2.1: +12 -2 lines
	* 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.

Revision 2.1: download - view: text, markup, annotated - select for diffs
Fri Jul 20 21:43:45 2001 UTC (7 years, 5 months ago) by heins
Branches: MAIN
	* 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.

Revision 2.0: download - view: text, markup, annotated - select for diffs
Wed Jul 18 02:23:14 2001 UTC (7 years, 5 months ago) by jon
Branches: MAIN
CVS tags: REL_4_7_6
Upping major version number after trunk/branch switch.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jul 18 01:56:44 2001 UTC (7 years, 5 months ago) by jon
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +587 -0 lines
Move DEV_4_7_0 development branch to repository trunk.

Revision 1.1.2.7: download - view: text, markup, annotated - select for diffs
Fri Jun 29 02:19:25 2001 UTC (7 years, 6 months ago) by jon
Branches: DEV_4_7_0
CVS tags: REL_4_7_5
Diff to: previous 1.1.2.6: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.6: +4 -4 lines
Update copyright notices and email addresses.
Standardize module headers and remove a few shebang lines.

Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Thu Apr 12 03:25:07 2001 UTC (7 years, 8 months ago) by heins
Branches: DEV_4_7_0
CVS tags: REL_4_7_4, REL_4_7_3, REL_4_7_2
Diff to: previous 1.1.2.5: preferred, colored
Changes since revision 1.1.2.5: +69 -33 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

Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Wed Apr 11 08:09:15 2001 UTC (7 years, 8 months ago) by heins
Branches: DEV_4_7_0
Diff to: previous 1.1.2.4: preferred, colored
Changes since revision 1.1.2.4: +86 -4 lines

  * 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

Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Tue Apr 10 05:03:39 2001 UTC (7 years, 9 months ago) by heins
Branches: DEV_4_7_0
Diff to: previous 1.1.2.3: preferred, colored
Changes since revision 1.1.2.3: +4 -0 lines

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

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 9 21:03:17 2001 UTC (7 years, 9 months ago) by heins
Branches: DEV_4_7_0
Diff to: previous 1.1.2.2: preferred, colored
Changes since revision 1.1.2.2: +2 -0 lines

  * Update map_actual to include phone_day and email.

  * Add iTransact module, hacked to use either Net::SSLeay or
    Crypt::SSLeay.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 9 16:18:34 2001 UTC (7 years, 9 months ago) by heins
Branches: DEV_4_7_0
Diff to: previous 1.1.2.1: preferred, colored
Changes since revision 1.1.2.1: +1 -76 lines

  * Remove "old_cybercash" routine, now fully offloaded to
    Vend::Payment::CyberCash.

  * Vend::Payment::CyberCash will still automatically be loaded at
    startup for backward compatibility.

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 06:39:20 2001 UTC (7 years, 9 months ago) by heins
Branches: DEV_4_7_0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +538 -0 lines

  * 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....??

Revision 1.1
Mon Apr 9 06:39:20 2001 UTC (7 years, 9 months ago) by heins
Branch point for: DEV_4_7_0
FILE REMOVED
file Payment.pm was initially added on branch DEV_4_7_0.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

Interchange CVSweb <info@icdevgroup.org>