Reply
Highlighted
Contributor
Posts: 10
Registered: ‎06-28-2014
Accepted Solution

DPM payment relay response fails when third-party cookies are blocked

My PHP implementation of DPM is nearly complete. Relay response, however, fails when the browser blocks third-party cookies. My test server is using a temporary domain with a self-signed SSL certificate. I'll be updating DNS and purchasing an SSL certificate for the domain once I address this problem.

 

I don't understand why blocking third-party cookies would cause the relay response to fail. Does DPM use cookies?

 

One additional item to note is that I'm using the standard JavaScript redirect method shown in the DPM documentation to display a receipt page after processing the relay response.

 

 


Accepted Solutions
Highlighted
Solution
Accepted by topic author ckieffer
‎08-21-2015 01:58 AM
Contributor
Posts: 10
Registered: ‎06-28-2014

Re: DPM payment relay response fails when third-party cookies are blocked

I finally found the common thread in my form's failed tests - 123. I have two int fields which accept three or four digit values. While testing, we often just enter 123, which apparently is replaced with asterisk (*). I guess the concern is that 123 looks like a CVV value, which should never be submitted as a merchent-define field.

 

Original post: https://community.developer.authorize.net/t5/Integration-and-Testing/DPM-Additional-information-in-t...

View solution in original post


All Replies
Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: DPM payment relay response fails when third-party cookies are blocked

HTTPs with self-signed SSL certificate? that will be rejected.

Relay Response Basics and Troubleshooting

Highlighted
Contributor
Posts: 10
Registered: ‎06-28-2014

Re: DPM payment relay response fails when third-party cookies are blocked

When I began testing, I had no problems. Relay responses were processed after I accepted the self-signed certifcate on the development server. It was only after blocking third-party cookies that I started having problems.

Highlighted
Contributor
Posts: 10
Registered: ‎06-28-2014

Re: DPM payment relay response fails when third-party cookies are blocked

And this is testing against a sandbox account.
Highlighted
Posts: 321
Topics: 5
Kudos: 37
Blog Posts: 5
Ideas: 0
Solutions: 26
Registered: ‎11-09-2011

Re: DPM payment relay response fails when third-party cookies are blocked

[ Edited ]

DPM is really a use case for SIM--you're disabling SIM's Hosted Payment Form and engaging in a few back-end tricks to make things appear seamless to the customer--and SIM does not use cookies at all.

 

However, while I don't believe the DPM SDK requires cookies, it might. I will confirm that later today.

--
"Move fast and break things," out. "Move carefully and fix what you break," in.
Highlighted
Posts: 321
Topics: 5
Kudos: 37
Blog Posts: 5
Ideas: 0
Solutions: 26
Registered: ‎11-09-2011

Re: DPM payment relay response fails when third-party cookies are blocked

I reviewed the PHP SDK code and there is nothing in there that sets a cookie.

Do you have an application like Fiddler, so you can see what's going on at the web session level? If not, you may want to give it a try: http://www.telerik.com/fiddler

--
"Move fast and break things," out. "Move carefully and fix what you break," in.
Highlighted
Contributor
Posts: 10
Registered: ‎06-28-2014

Re: DPM payment relay response fails when third-party cookies are blocked

I haven't tried it, no. I'll give it a go.

Highlighted
Solution
Accepted by topic author ckieffer
‎08-21-2015 01:58 AM
Contributor
Posts: 10
Registered: ‎06-28-2014

Re: DPM payment relay response fails when third-party cookies are blocked

I finally found the common thread in my form's failed tests - 123. I have two int fields which accept three or four digit values. While testing, we often just enter 123, which apparently is replaced with asterisk (*). I guess the concern is that 123 looks like a CVV value, which should never be submitted as a merchent-define field.

 

Original post: https://community.developer.authorize.net/t5/Integration-and-Testing/DPM-Additional-information-in-t...