Merge pull request #11824 from ptibogxiv/patch-253

FIX: dol_thirdparty_id for stripe PI
This commit is contained in:
Laurent Destailleur 2019-09-06 23:29:34 +02:00 committed by GitHub
commit b4aa030dd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -383,6 +383,7 @@ class Stripe extends CommonObject
{
$metadata['dol_type'] = $object->element;
$metadata['dol_id'] = $object->id;
if (is_object($object->thirdparty) && $object->thirdparty->id > 0) $metadata['dol_thirdparty_id'] = $object->thirdparty->id;
}
$dataforintent = array(