Paypal SHA-256

«StartZurück12WeiterEnde»
13.09.2016 11:40
#1
massydp
Joomshopping forum user no avatar
Name: Massimiliano
13.09.2016
Posts: 8
Quote
Paypal SHA-256

Hello I have the need to update only the PAYPAL module with the SHA - 256 I do not have the possibility to update joomshopping standards are stopped to joomshopping version 4.4.1 there is a module or an extension to update this without update joomshopping?


Joomla: Joomla! 3.4.8
JoomShopping: Version 4.4.1
 
13.09.2016 13:48
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Paypal SHA-256

Problem in your server (php / curl version)

 
14.09.2016 09:37
#3
Stickdealer
User Stickdealer
Name: Bjoern
05.10.2011
Posts: 634
Quote
Aw: Paypal SHA-256

massydp - 13.09.2016 11:40
Hello I have the need to update only the PAYPAL module with the SHA - 256 I do not have the possibility to update joomshopping standards are stopped to joomshopping version 4.4.1 there is a module or an extension to update this without update joomshopping?



@webdesigner


Ist Joomshopping 3.20.2 und das PayPal-Plugin kompatibel mit den neuen Anforderungen von PayPal?

Upgrade:

• HTTP 1.1 oder höher
• Nur HTTPS
• TLS 1.2 oder höher
• 2048-bit, SHA-256-Zertifikate mit VeriSign G5 Root-Signatur

Muss man was ändern oder anpassen?

Gruß

B

 
14.09.2016 09:50
#4
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Paypal SHA-256

Need change

payments\pm_paypal\pm_paypal.php

curl_setopt($ch, CURLOPT_SSLVERSION, 4);

change to

curl_setopt($ch, CURLOPT_SSLVERSION, 6);

 
14.09.2016 09:59
#5
Stickdealer
User Stickdealer
Name: Bjoern
05.10.2011
Posts: 634
Quote
Aw: Paypal SHA-256

webdesigner - 14.09.2016 09:50
Need change

payments\pm_paypal\pm_paypal.php

curl_setopt($ch, CURLOPT_SSLVERSION, 4);

change to

curl_setopt($ch, CURLOPT_SSLVERSION, 6);



ok that's all?

And the other points?

 
14.09.2016 10:39
#6
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Paypal SHA-256

• HTTP 1.1 oder höher - yes
• Nur HTTPS - yes
• 2048-bit, SHA-256-Zertifikate mit VeriSign G5 Root-Signatur - your server (php / curl)

 
15.09.2016 11:21
#7
massydp
Joomshopping forum user no avatar
Name: Massimiliano
13.09.2016
Posts: 8
Quote
Aw: Paypal SHA-256

i don' t have curl_setopt in my pm_paypal.php

 
15.09.2016 11:49
#8
Stickdealer
User Stickdealer
Name: Bjoern
05.10.2011
Posts: 634
Quote
Aw: Paypal SHA-256

massydp - 15.09.2016 11:21
i don' t have curl_setopt in my pm_paypal.php


JS Version?

Row 68

... see attachment!
pm_paypal.txt

 
15.09.2016 12:03
#9
massydp
Joomshopping forum user no avatar
Name: Massimiliano
13.09.2016
Posts: 8
Quote
Aw: Paypal SHA-256

JoomShopping: Version 4.4.1

It is totally different

pm_paypal1.txt


Letzte Änderung: 15.09.2016 12:08
 
15.09.2016 20:44
#10
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Paypal SHA-256

4.4.0 - very old

copy folder pm_paypal from joomshopping 4.8.0

and change

curl_setopt($ch, CURLOPT_SSLVERSION, 4);

change to

curl_setopt($ch, CURLOPT_SSLVERSION, 6);


Letzte Änderung: 15.09.2016 20:44
 
19.09.2016 09:49
#11
massydp
Joomshopping forum user no avatar
Name: Massimiliano
13.09.2016
Posts: 8
Quote
Aw: Paypal SHA-256

Thank you for the suggestion . I replaced the pm_paypal folder with the version of 4.8 , but does not work as error 500 from the administrative side

please help!!!

 
19.09.2016 11:46
#12
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Paypal SHA-256

Joomla / configuration
error reporting: maximum

 
21.09.2016 16:48
#13
massydp
Joomshopping forum user no avatar
Name: Massimiliano
13.09.2016
Posts: 8
Quote
Aw: Paypal SHA-256

ok but now error is:

Fatal error: Call to undefined method JSFactory::getModel() in .../components/com_jshopping/payments/pm_paypal/pm_paypal.php on line 25


Letzte Änderung: 21.09.2016 16:49
 
21.09.2016 20:46
#14
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Paypal SHA-256

Change file
lib/factory.php

add

public static function getTable($type, $prefix = 'jshop', $config = array()){
JDispatcher::getInstance()->trigger('onJSFactoryGetTable', array(&$type, &$prefix, &$config));
$table = JTable::getInstance($type, $prefix, $config);
JDispatcher::getInstance()->trigger('onAfterJSFactoryGetTable', array(&$table, &$type, &$prefix, &$config));
return $table;
}

public static function getModel($type, $prefix = 'JshoppingModel', $config = array()){
JDispatcher::getInstance()->trigger('onJSFactoryGetModel', array(&$type, &$prefix, &$config));
$model = JModelLegacy::getInstance($type, $prefix, $config);
JDispatcher::getInstance()->trigger('onAfterJSFactoryGetModel', array(&$model, &$type, &$prefix, &$config));
return $model;
}

before end "}"


Letzte Änderung: 21.09.2016 20:47
 
26.09.2016 10:21
#15
massydp
Joomshopping forum user no avatar
Name: Massimiliano
13.09.2016
Posts: 8
Quote
Aw: Paypal SHA-256

done.

but now

Fatal error: Call to undefined method pm_paypal::getPmMethod() in .../components/com_jshopping/payments/pm_paypal/pm_paypal.php on line 113

 
26.09.2016 11:16
#16
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Paypal SHA-256

ftp?
(privat message)

or

order
https://www.webdesigner-profi.de/joomla-webdesign/shop/support/paypal-configuration.html

 
26.09.2016 11:57
#17
massydp
Joomshopping forum user no avatar
Name: Massimiliano
13.09.2016
Posts: 8
Quote
Aw: Paypal SHA-256

I resolved, I was not present in the function payment.php
Now normally we continue the process of payment but does not return to the ok joomshopping that payment error even if the transaction is properly managed

 
26.09.2016 13:44
#18
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Paypal SHA-256

--Fatal error: Call to undefined method pm_paypal::getPmMethod() in .../components/com_jshopping/payments/pm_paypal/pm_paypal.php on line 113



ftp?
(privat message)

or

order
https://www.webdesigner-profi.de/joomla-webdesign/shop/support/paypal-configuration.html

 
26.09.2016 14:56
#19
massydp
Joomshopping forum user no avatar
Name: Massimiliano
13.09.2016
Posts: 8
Quote
Aw: Paypal SHA-256

I resolved the Fatal error....

Now normally we continue the process of payment but does not return to the "ok" in joomshopping that payment error even if the transaction is properly managed

 
26.09.2016 20:51
#20
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16475
Quote
Aw: Paypal SHA-256

see log/paymentdata.log

notify ??

 
«StartZurück12WeiterEnde»
Copyrights MAXXmarketing GmbH. All Rights Reserved