Página 1 de 1

[BETA] Donation MOD with Multiple Payment Options 2.2.4

Publicado: 29 May 2012, 18:58
por ThE KuKa
Nombre del MOD: Donation MOD with Multiple Payment Options
Autor del MOD: Siropu - http://www.siropu.com/
Descripción del MOD
Este MOD un formulario de Donación en tu foro mediante PayPal, Payza, Moneybookers, Liberty Reserve y WebMoney. Cuando alguien hace una donación, su nombre de usuario aparece en los detalles de la transacción para que sepa quien hizo la donación. Puede añadir los nombres de usuario en la Lista de Donantes desde el ACP.
NOTA: (esto ya ha sido añadido en esta BETA)
Las futuras características del MOD según el autor del mismo, sera incorporar a los usuarios que hicieron una donación a un determinado grupo automáticamente, y añadir también a la lista de donaciones automáticamente, entre otras nuevas características.

Instalación: Para instalar el MOD leer el install.xml

Traducción: ThE KuKa - http://www.phpbb-es.com
Versión del MOD: 2.2.4
Dificultad: Fácil
Tiempo de Instalación Aprox. 10 Minutos
Compatible con phpBB: 3.0.x
Tema original en phpBB: http://www.phpbb.com/community/viewtopi ... &t=2156682

Re: [RC] Donation MOD with Multiple Payment Options 2.1.3

Publicado: 11 Jun 2012, 17:47
por ThE KuKa
 ! 
Mensaje del Equipo por: ThE KuKa
MOD actualizado de 2.1.1 a 2.1.3

Re: [RC] Donation MOD with Multiple Payment Options 2.1.3

Publicado: 30 Jun 2012, 20:01
por ThE KuKa
 ! 
Mensaje del Equipo por: ThE KuKa
MOD actualizado de 2.1.3 a 2.2.1

Re: [RC] Donation MOD with Multiple Payment Options 2.1.3

Publicado: 08 Jul 2012, 12:45
por ThE KuKa
 ! 
Mensaje del Equipo por: ThE KuKa
MOD actualizado de 2.2.1 a 2.2.2

Re: [BETA] Donation MOD with Multiple Payment Options 2.2.2

Publicado: 09 Jul 2012, 22:17
por xX-ViiRuSs-Xx
modifique los archivos , pase todos los archivos correctamente y me lanza un error

" 404 not found "

nose porque sera :(

Saludos , aver si consigo hacer funcionar el mod y comento :cerveza:

Re: [RC] Donation MOD with Multiple Payment Options 2.1.3

Publicado: 13 Ago 2012, 08:54
por ThE KuKa
xX-ViiRuSs-Xx, si se editan los archivos correctamente, y se hace la instalación correctamente, el MOD funciona a la perfección, la prueba esta en este mismo sitio, si te sale error 404 es que no has subido correctamente los archivos a las rutas indicadas.
 ! 
Mensaje del Equipo por: ThE KuKa
MOD actualizado de 2.2.2 a 2.2.3

Re: [BETA] Donation MOD with Multiple Payment Options 2.2.3

Publicado: 11 Sep 2012, 11:04
por ThE KuKa

Es IMPORTANTE que tengáis IPN activado en vuestra cuenta PayPal para que el MOD funcione al 100%


Re: [BETA] Donation MOD with Multiple Payment Options 2.2.4

Publicado: 30 Ene 2013, 23:56
por ThE KuKa

MOD actualizado de 2.2.3 a 2.2.4


Re: [BETA] Donation MOD with Multiple Payment Options 2.2.4

Publicado: 12 Sep 2013, 18:26
por ThE KuKa

Actualización Importante para quienes usen este MOD.

PayPal va a realizar unos cambios a partir de Octubre del 2013, con lo cual el MOD no funcionara al 100%
El mensaje era una cosa así: | Mostrar
In a bulletin dated the 18th of October, 2011, we announced that we were going to expand the number of IP addresses for http://www.paypal.com to improve our site’s performance, scalability and availability. As part of this transition, we planned to discontinue support for HTTP 1.0 protocol starting the 7th of October, 2013.

We have recently identified that this change may impact the ability of some of our merchants to perform IPN (Instant Payment Notification) post-back validation or PDT (Payment Data Transfer) posts to http://www.paypal.com and ipnpb.paypal.com. This happens when the IPN or PDT scripts use HTTP 1.0 protocol and do not include the “Host: http://www.paypal.com” or “Host: ipnpb.paypal.com” header in the HTTP request.

Additional Details

Starting the 7th of October, 2013, we will require all incoming requests to have a “Host” header which complies with HTTP 1.1 Specifications. This header was not required under HTTP 1.0. IPN and PDT scripts using HTTP 1.0 may start failing with “HTTP/1.0 400 Bad Request” errors after the 7th of October, 2013, which will result in IPN messages not being validated successfully, or PDT scripts not being able to retrieve transaction information.

Action Required before the 7th of October, 2013

Merchants need to update their IPN and/or PDT scripts to use HTTP 1.1, and include the “Host” and “Connection: close” HTTP header in the IPN postback script.

Example with Host as http://www.paypal.com (please make necessary changes if you are using ipnpb.paypal.com):

ASP

Código: Seleccionar todo

//Set values for the request back 
req.Method="POST"; 
req.Host="'www.paypal.com'"; 
req.ContentType="application/x-www-form-urlencoded";
Perl

Código: Seleccionar todo

$req=HTTP::Request->new('POST', 'https://www.paypal.com/cgi-bin/webscr');
$req->content_type('application/x-www-form-urlencoded');
$req->header(Host=> 'www.paypal.com');
$req->header(Connection=> 'close');
PHP

Código: Seleccionar todo

// post back to PayPal system to validate
$header="POST /cgi-bin/webscr HTTP/1.1\r\n";
$header .="Content-Type: application/x-www-form-urlencoded\r\n";
$header .="Host: http://www.paypal.com\r\n"; 
$header .="Connection: close\r\n\r\n";
Java

Código: Seleccionar todo

HttpsURLConnection  uc=(HttpsURLConnection) u.openConnection();
uc.setDoOutput(true);
uc.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
uc.setRequestProperty("Host", "www.paypal.com");
uc.setRequestProperty("Connection", "Close");
The PayPal Sandbox has been configured to reject any HTTP requests without the “Host” header with HTTP 400 error. Merchants can use the Sandbox environment to certify the changes to their IPN and PDT scripts.

For more information on PDT and IPN, please refer to http://www.paypal.com/pdt and http://www.paypal.com/ipn. For additional information or questions about this change, please contact PayPal's Merchant Technical Support team via https://www.paypal.com/mts.

Sincerely,
PayPal
Para solucionar esto, debéis editar una línea, y listo.
Abrir archivo /root/donation/ipn.php Buscar - Nota: Esto puede ser una búsqueda parcial, y no una línea entera.

Código: Seleccionar todo

        // post back to PayPal system to validate
        $header .= "POST /cgi-bin/webscr HTTP/1.0\r\n";
        $header .= "Content-Type: application/x-www-form-urlencoded\r\n";
        $header .= "Content-Length: " . strlen($req) . "\r\n\r\n";
        $fp = fsockopen ('ssl://www.paypal.com', 443, $errno, $errstr, 30);
Reemplazar por - Nota: Reemplazar las líneas a encontrar por las siguientes líneas.

Código: Seleccionar todo

        // post back to PayPal system to validate
        $header .= "POST /cgi-bin/webscr HTTP/1.1\r\n";
        $header .= "Host: http://www.paypal.com\r\n";
        $header .= "Content-Type: application/x-www-form-urlencoded\r\n";
        $header .= "Content-Length: " . strlen($req) . "\r\n\r\n";
        $header .= "Connection: Close\r\n\r\n";
        $fp = fsockopen ('ssl://www.paypal.com', 443, $errno, $errstr, 30);
Con este cambio debería funcionar correctamente.

Gracias a Dugi por darme "luz" en el tema de este MOD.