Skip Menu |

This queue is for tickets about the Business-OnlinePayment-AuthorizeNet CPAN distribution.

Report information
The Basics
Id: 48625
Status: resolved
Priority: 0/
Queue: Business-OnlinePayment-AuthorizeNet

People
Owner: Nobody in particular
Requestors: john [...] dpo.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 3.18
  • 3.19
  • 3.20
Fixed in: 3.21



Subject: bug and fix in ARB.pm
Date: Tue, 11 Aug 2009 10:55:47 -0700
To: bug-business-onlinepayment-authorizenet [...] rt.cpan.org
From: John Springer <john [...] dpo.org>
In AuthorizeNet::ARB, version 0.01, this array: tie my %schedule, 'Tie::IxHash', $self->revmap_fields( interval => \%interval, startDate => 'start', totalOccurrences => 'periods', trialOccurrences => 'trialperiods', phoneNumber => 'phone', ); should NOT include phoneNumber. (The same field occurs later in the right place under customer data.) Authorize.net gives this error with the array as defined: An error occurred trying to set up your monthly contribution. The bank said "The element 'paymentSchedule' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'phoneNumber' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.". Removing the reference to phoneNumber here makes the ARB module work correctly. -- John Springer Tech Dude Democratic Party of Oregon (503) 239-8635 -- John Springer Tech Dude Democratic Party of Oregon (503) 239-8635
Subject: Re: [rt.cpan.org #48625] AutoReply: bug and fix in ARB.pm
Date: Tue, 11 Aug 2009 16:07:47 -0700
To: bug-Business-OnlinePayment-AuthorizeNet [...] rt.cpan.org
From: John Springer <john [...] dpo.org>
I have also added an additiional field to take the authorize.net subscription name: add to the %sub hash. name => 'subscription_name', I added it as the first item in the hash. It seemed to not work right at the bottom. -- John Springer Tech Dude Democratic Party of Oregon (503) 239-8635 On Aug 11, 2009, at 10:56 AM, Bugs in Business-OnlinePayment- AuthorizeNet via RT wrote: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "bug and fix in ARB.pm", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket > has been > assigned an ID of [rt.cpan.org #48625]. Your ticket is accessible > on the web at: > > http://rt.cpan.org/Ticket/Display.html?id=48625 > > Please include the string: > > [rt.cpan.org #48625] > > in the subject line of all future correspondence about this issue. > To do so, > you may reply to this message. > > Thank you, > bug-Business-OnlinePayment-AuthorizeNet@rt.cpan.org > > ------------------------------------------------------------------------- > In AuthorizeNet::ARB, version 0.01, > > this array: > > tie my %schedule, 'Tie::IxHash', > $self->revmap_fields( > interval => \%interval, > startDate => 'start', > totalOccurrences => 'periods', > trialOccurrences => 'trialperiods', > phoneNumber => 'phone', > ); > > > should NOT include phoneNumber. (The same field occurs later in the > right place under customer data.) > > Authorize.net gives this error with the array as defined: > > An error occurred trying to set up your monthly contribution. > The bank said "The element 'paymentSchedule' in namespace > 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element > 'phoneNumber' in namespace > 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.". > > > Removing the reference to phoneNumber here makes the ARB module work > correctly. > > > -- > John Springer > Tech Dude > Democratic Party of Oregon > (503) 239-8635 > > > > > -- > John Springer > Tech Dude > Democratic Party of Oregon > (503) 239-8635 > > > > > > > >