Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Implement Transactional Email in Website php

Avatar

Avatar
Level 1
lindapri123
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
lindapri123
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
lindapri123
Level 1

09-05-2020

Hi,

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

Thanks

transactionalmessage

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Shape 1
MVP
SatheeskannaK
MVP

Likes

87 likes

Total Posts

149 posts

Correct Reply

77 solutions
Top badges earned
Shape 1
Give Back 5
Give Back 3
Give Back
Boost 50
View profile

Avatar
Shape 1
MVP
SatheeskannaK
MVP

Likes

87 likes

Total Posts

149 posts

Correct Reply

77 solutions
Top badges earned
Shape 1
Give Back 5
Give Back 3
Give Back
Boost 50
View profile
SatheeskannaK
MVP

09-05-2020

Hi @lindapri123,

 

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.

JWT Library 

 

Let me know if you have any questions.

 

Thanks!

SK

Answers (1)

Answers (1)

Avatar

Avatar
Affirm 100
MVP
_Manoj_Kumar
MVP

Likes

115 likes

Total Posts

327 posts

Correct Reply

100 solutions
Top badges earned
Affirm 100
Validate 1
Contributor
Ignite 1
Shape 1
View profile

Avatar
Affirm 100
MVP
_Manoj_Kumar
MVP

Likes

115 likes

Total Posts

327 posts

Correct Reply

100 solutions
Top badges earned
Affirm 100
Validate 1
Contributor
Ignite 1
Shape 1
View profile
_Manoj_Kumar
MVP

12-05-2020

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-request

Thanks