[ic] Perl CGI module (was: Safe error in payment module)

Grant emailgrant at gmail.com
Thu Dec 27 23:12:42 UTC 2012


>> Thanks, Mike, for confirming that the standard CGI module will not work in IC.
>>
>> It appears that Net::Braintree uses CGI on only 2 lines:
>>
>> my $query = CGI->new($query_string);
>> return $query->Vars;
>
> Right, and that's in a very simple subroutine.  You can overwrite the
> entire subroutine easily without having to patch the actual module from
> interchange.cfg and should be able to solve the issue that way.
>
>> So, it looks like I should be able to replace CGI with CGI::Simple and
>> get the same results.  And, I think I'll politely ask Braintree if
>> they would consider doing the same replacement in their module.
>
> I would recommend replacing
> Net::Braintree::TransparentRedirect::QueryString::parse() with a sub
> that calls Vend::Server::parse_post().

Dan, did you get the Braintree module working with Interchange?  I'd
like to use Braintree with IC too.

- Grant



More information about the interchange-users mailing list