PayMill - Client returned HTTP status code 0

13.07.2015 16:20
#1
jschuppe
Joomshopping forum user no avatar
Name: Jirka
12.12.2014
Posts: 7
Quote
PayMill - Client returned HTTP status code 0

Hi,

i have stored my public and my private key (testmode) and made a first test. The result is:

Transaction: Array ( [error] => Client returned HTTP status code 0 )

Here some own dumps from the source code:

create - req: transactions/

create - in: Array
(
[amount] => 1995
[currency] => EUR
[token] => tok_12b3fecede1d9241dfd076eca535
[description] => Bestell-Nr 00000329
)

curl: Array
(
[10002] => https://api.paymill.de/v2/transactions/
[19913] => 1
[10036] => POST
[10018] => Paymill-php/0.0.1
[64] =>
[32] => 3
[10065] => /home/.............../components/com_jshopping/payments/pm_paymill/lib/Services/Paymill/Apiclient/paymill.crt
[10015] => amount=1995&currency=EUR&token=tok_12b3fecede1d9241dfd076eca535&description=Bestell-Nr+00000329
[10005] => 3c112d92c72860c62ad9c13d9ce7abd3:
)
Rsp Body:

Rsp Info: Array
(
[url] => https://api.paymill.de/v2/transactions/
[content_type] =>
[http_code] => 0
[header_size] => 0
[request_size] => 0
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.02647
[namelookup_time] => 2.0E-5
[connect_time] => 0.013219
[pretransfer_time] => 0
[size_upload] => 0
[size_download] => 0
[speed_download] => 0
[speed_upload] => 0
[download_content_length] => -1
[upload_content_length] => -1
[starttransfer_time] => 0
[redirect_time] => 0
[certinfo] => Array
(
)

[primary_ip] => 62.138.114.169
[primary_port] => 443
[local_ip] => 195.30.107.89
[local_port] => 56620
[redirect_url] =>
)
create - res: Array
(
[data] => Array
(
[error] => Client returned HTTP status code 0
)

)
Transaction: Array
(
[error] => Client returned HTTP status code 0
)


If i call the paymill API with firefox i get the following result (https://api.paymill.de/v2/transactions/?amount=1995&currency=EUR&token=tok_12b3fecede1d9241dfd076eca535&description=Bestell-Nr+00000329):
{
"exception":"Api_Exception_InvalidParameter",
"error":"token"
}




best regards
Jirka


Joomla: 3.4.3
JoomShopping: 4.10.1

Last change: 13.07.2015 17:55
 
14.07.2015 08:01
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25856
Quote
Aw: PayMill - Client returned HTTP status code 0

Problem in option

CURLOPT_SSLVERSION => 3

Try new version

Paymill Credit card 1.0.7


Last change: 14.07.2015 08:03
 
27.07.2015 07:53
#3
jschuppe
Joomshopping forum user no avatar
Name: Jirka
12.12.2014
Posts: 7
Quote
Aw: PayMill - Client returned HTTP status code 0

Thank you, it works !!

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.