#.nosdi

1 messages · Page 1 of 1 (latest)

tawny gorgeBOT
hot kernel
sullen frost
#

and how do I implement that to my existing code?

hot kernel
#

What do you mean?

#

You set metadata within subscription_data

#

Are you a developer?

sullen frost
#

ah okay

#

it is that simple

#

cool

#

thanks

hot kernel
#

Yep! Just need to set it once there

sullen frost
#

So this should work:

'subscription_data' => [ 'metadata' => [ 'dmuportal_company_id' => strval($_ACCOUNT['selected_company']), ], ],

hot kernel
#

Looks right to me

#

Try it out

sullen frost
#

Yep on it.

#

Worked.

#

Thanks a lot:)