Evolution #1406
Ajouter id_adh lors des appels à executePostScript
100%
Description
Bonjour,
Serait-il possible d'ajouter ['id_adh'=>$id_adh] dans les paramètres de executePostScript()
dans contributions.routes.php et paypal\routes.php ligne 330
Merci
Manuel
Updated by Johan Cwiklinski 11 months ago
Un truc dans ce genre là ?
diff --git a/galette/lib/Galette/Entity/Contribution.php b/galette/lib/Galette/Entity/Contribution.php
index 0f1e7461..42e2a701 100644
--- a/galette/lib/Galette/Entity/Contribution.php
+++ b/galette/lib/Galette/Entity/Contribution.php
@@ -988,6 +988,7 @@ class Contribution
if ($this->_member !== null) {
$m = new Adherent($this->zdb, (int)$this->_member);
$member = array(
+ 'id' => (int)$this->_member,
'name' => $m->sfullname,
'email' => $m->email,
'organization' => ($m->isCompany() ? 1 : 0),
Updated by Manuel Her 11 months ago
oui ça me semble bien, ça marche avec le plugin paypal?
Merci
Updated by Johan Cwiklinski 11 months ago
Normalement oui, mais je n'ai pas de quoi tester de mon côté.
Updated by Manuel Her 11 months ago
Bonjour,
Sur le même principe, pourriez-vous ajouter l'id de la contrib:
$contrib = array(
'id' => $this->id,
Merci
Manuel
Updated by Johan Cwiklinski 11 months ago
Manuel Her a écrit :
Bonjour,
Sur le même principe, pourriez-vous ajouter l'id de la contrib:
$contrib = array(
'id' => $this->id,Merci
Manuel
OK, pas de problème
Updated by Manuel Her 11 months ago
J'ai oublié le _
'id' => $this->_id,
J'ai testé avec Paypal, c'est OK
Merci
Updated by Johan Cwiklinski 11 months ago
- Category set to Core
- Status changed from Nouveau to In Progress
- Assignee set to Johan Cwiklinski
- Target version set to 0.9.4
Manuel Her a écrit :
J'ai oublié le _
'id' => $this->_id,
J'ai testé avec Paypal, c'est OK
Merci
Top, merci pour le retour. Ls deux changements seront dans la prochaine version ;)
Updated by Johan Cwiklinski 11 months ago
- Status changed from In Progress to Résolu
- % Done changed from 0 to 100
Appliqué par commit d2a6f09bc113a6587894240738741b540988b835.