KptiveStudio/KptivePaymentSipsBundle — pull request #1 by mrjoops (2014-04-14 15:38:22+00:00)
Title: Fixed Client.php for params with special value

Hi,

Thank you for your work on this bundle.

I encountered some trouble when I wanted to implement a multiple installment payment (3x).
Here is a fix.

Calling request bin was broken with these test values :

```php
array(
'amount' => 300,
'capture_day' => 0,
'capture_mode' => 'PAYMENT_N',
'data' => 'NB_PAYMENT=3;PERIOD=30;INITIAL_AMOUNT=100'
)
```

* 'capture_day' was skipped because it equals 0 (fails the "not empty" test, line 76)
* 'data' was truncated because of the semicolon

Now these cases are handled properly.