Subject: | Form details should be separated by newlines, not commas |
Date: | Thu, 27 Jun 2013 10:48:26 +0100 |
To: | bug-Catalyst-Model-PayPal-IPN [...] rt.cpan.org |
From: | "Jon Allen (JJ)" <jj [...] opusvl.com> |
The form details (key/value pairs) are currently converted to CSV before being encrypted and passed to PayPal.
This gives the PayPal error message "email address for the business is not present in the encrypted blob".
The details should be separated with newlines instead of commas - the patch below corrects the problem.
232c232
< $form .= $form_param . '=' . $form_args->{$form_param} . "\n";
---
Show quoted text
> $form .= $form_param . '=' . $form_args->{$form_param} . ',';