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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Inbound Offer (Unitary) Call Not Updating Webpage

dloyd
Level 4
Level 4

I've built a web page to retrieve offers from ACC. I can get a 200 response but no change is happening to my HTML. In the network response its coming back with what I think is an ACC JS function to run but it doesn't seem to be updating my page. Any thoughts?

 

dloyd_0-1641322856843.png

dloyd_1-1641322981303.png

 

 

6 Replies
Jonathon_wodnicki
Community Advisor
Community Advisor

Hi,

 

The first request is for the js, the second is for the offer. Check that your offers are configured correctly?

NB It's unusual to use HTML for inbound interaction due to security concerns and general architecture issues. Consider using the SOAP API instead.

 

Thanks,

-Jon

dloyd
Level 4
Level 4

Offer set up seems fine. I can preview the offer in many ways.

dloyd_0-1641391481429.png

 

Is you recommendation for a server side and not client side API call?

adithyacs86
Level 5
Level 5

Hi, 

 

Can you check if the offer space that you are using in the web page is generating the offer for you through SOAP or Postman. 

 

Thanks 

dloyd
Level 4
Level 4

Another odd thing was that the URL was never generated for my offer space. I'd usually just call this URL directly from SOAP UI.

If I just call the URL based on what I think it should be I get a 200 response but no XML.

dloyd_0-1641392715808.png

dloyd_1-1641392902791.pngdloyd_2-1641392929956.png

 

adithyacs86
Level 5
Level 5

I think it is good to redeploy the the offer space from the design environment which should generate the URL.

 

Thanks,

Adithya

Sukrity_Wadhwa
Employee
Employee

Hi @dloyd,

Were you able to resolve this query with the help of the given solutions or were you able to find a solution on your own? Do let us know.

Thanks!