From 60766e3c4d0508ebcbccc9ae5074d169f062acd6 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 20 Sep 2008 21:01:05 +0000 Subject: [PATCH] correct misdocumentation of $Business::CreditCard::Country --- Changes | 1 + CreditCard.pm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 18d7ee1..2de7d06 100644 --- a/Changes +++ b/Changes @@ -6,6 +6,7 @@ Revision history for Perl extension Business::CreditCard. - Add Irish Laser card, thanks to Eoin Redmond for the heads-up. - Add documentation on what this module *is* and *is NOT* about. - Spelling fix in docs + - correct misdocumentation of $Business::CreditCard::Country 0.30 Mon Dec 18 23:24:25 PST 2006 - back after two and a half years; happy hanukkah! diff --git a/CreditCard.pm b/CreditCard.pm index bc700f8..959430a 100644 --- a/CreditCard.pm +++ b/CreditCard.pm @@ -82,11 +82,11 @@ other networks, in which one type of card is processed as another card type. By default, Business::CreditCard returns the type the card should be treated as in the US and Canada. You can change this to return the type the card should be treated as in a different country by setting -C<$Business::OnlinePayment::Country> to your two-letter country code. This +C<$Business::CreditCard::Country> to your two-letter country code. This is probably what you want to determine if you accept the card, or which merchant agreement it is processed through. -You can also set C<$Business::OnlinePayment::Country> to a false value such +You can also set C<$Business::CreditCard::Country> to a false value such as the empty string to return the "base" card type. This is probably only useful for informational purposes when used along with the default type. -- 2.11.0