Skip Menu |

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

Report information
The Basics
Id: 67428
Status: resolved
Priority: 0/
Queue: Business-AuthorizeNet-CIM

People
Owner: Nobody in particular
Requestors: pawel [...] azotel.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.03
Fixed in: (no value)



Subject: Possible Bug in createCustomerPaymentProfileRequest
Business-AuthorizeNet-CIM 0.03 Perl v5.8.8 Linux localhost 2.6.18-128.7.1.el5 #1 SMP Mon Aug 24 08:20:55 EDT 2009 i686 i686 i386 GNU/Linux There is possible issue with "createCustomerPaymentProfileRequest" in CIM.pm module. When trying to use this function I got error response : 'xmlns' => 'AnetApi/xml/v1/schema/AnetApiSchema.xsd', 'messages' => { 'resultCode' => 'Error', 'message' => { 'text' => 'The element \'createCustomerPaymentProfileRequest\' in namespace \'AnetApi/xml/v1/schema/AnetApiSchema.xsd\' has invalid child element \'paymentProfiles\' in namespace \'AnetApi/xml/v1/schema/AnetApiSchema.xsd\'. List of possible elements expected: \'paymentProfile\' in namespace \'AnetApi/xml/v1/schema/AnetApiSchema.xsd\'.', 'code' => 'E00003' } }, 'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance', 'xmlns:xsd' => 'http://www.w3.org/2001/XMLSchema' To fix it I modified: $writer->startTag('paymentProfiles'); to $writer->startTag('paymentProfile'); AND $writer->endTag('paymentProfiles'); to $writer->endTag('paymentProfile'); Can it be verified and patch applied ? Thanks, Pawel
Sending the previous mail has failed. Please contact your admin, they can find more details in the logs.
Sending the previous mail has failed. Please contact your admin, they can find more details in the logs.
From: pawel [...] azotel.com
Other issue is the 'cardCode'. AuthorizeNet CIM guide says it is optional but module forces to enter correct cardCode ... Pawel On Wed Apr 13 06:39:30 2011, pawel@azotel.com wrote: Show quoted text
> Business-AuthorizeNet-CIM 0.03 > > Perl v5.8.8 > > Linux localhost 2.6.18-128.7.1.el5 #1 SMP Mon Aug 24 08:20:55 EDT 2009 > i686 i686 i386 GNU/Linux > > There is possible issue with "createCustomerPaymentProfileRequest" in > CIM.pm module. > > When trying to use this function I got error response : > > 'xmlns' => 'AnetApi/xml/v1/schema/AnetApiSchema.xsd', > 'messages' => { > 'resultCode' => 'Error', > 'message' => { > 'text' => 'The element > \'createCustomerPaymentProfileRequest\' in namespace > \'AnetApi/xml/v1/schema/AnetApiSchema.xsd\' has invalid child element > \'paymentProfiles\' in namespace > \'AnetApi/xml/v1/schema/AnetApiSchema.xsd\'. List of possible elements > expected: \'paymentProfile\' in namespace > \'AnetApi/xml/v1/schema/AnetApiSchema.xsd\'.', > 'code' => 'E00003' > } > }, > 'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance', > 'xmlns:xsd' => 'http://www.w3.org/2001/XMLSchema' > > To fix it I modified: > > $writer->startTag('paymentProfiles'); to > $writer->startTag('paymentProfile'); > > AND > > $writer->endTag('paymentProfiles'); to > $writer->endTag('paymentProfile'); > > Can it be verified and patch applied ? > > Thanks, > Pawel
Hi Thanks for the patches. 0.04 is on the way CPAN. many thanks.