Sign in to Community
Sign in to view all badges
Could anyone share how to implement transactional email (welcome email) in website php ?
This is my first attempt and quite confused how to implement RTEVENT & SESSION wsdl file in my website.
What endpoint URLs that I need to hit ?
Please help & advice
Api documentation link to refer for transactional events on ACS. From my understanding you will be creating profile and then send welcome email for the profile created from ACS.
Transactional Event REST API
Creating Profiles Using REST API
How you connect to ACS REST API has to happen through adobe i/o,
ACS REST API using Adobe I/O
Sharing the php library information that can be used to exchange the token through program to connect ACS via adobe i/o.
Let me know if you have any questions.
Hello @lindapri123 ,Your developer can use the any library which can be used to get and post response over HTTP. I would recommend using the GuzzleHTTP library for this purpose.You can use this library to post data in rest/soap format to first get the access token from Adobe I/O.The code will look like this.
$client = new \GuzzleHttp\Client();$response = $client->request('POST', 'https://ims-na1.adobelogin.com/ims/exchange/jwt', ['form_params' => ['client_id' => 'YOUR_CLIENT_ID','client_secret' => 'YOUR_CLIENT_SECRET','jwt_token' => 'YOUR _JTW_TOKEN']]););
Then the developer will have to make another similar type of call. But this time instead of posting the client_id and secret the payload will be the SOAP data and http headers should have the access token to authorize the call.You can ask your developer to read more here http://docs.guzzlephp.org/en/stable/quickstart.html#making-a-requestThanks