Upcoming update to request values for hosted payment integrations

Highlighted
Shopify Staff
Shopify Staff
340 1 30

As of June 12th, 2017, Shopify will be including a new “locale” key-value pair in Hosted Payment SDK requests.
 
When signing the request, you will need to ensure your integration does not rely on specific fields. Instead, the message being signed should be a string of all key-value pairs that start with x_ prefix, sorted alphabetically, and concatenated without separators. If your integration’s signing mechanism already follows this strategy, you won’t need to make any changes now or in the future.
 
You can find help on developing a signing mechanism here ›
 
Making this change ensures your integration is resilient to any future addition/removal of request fields by Shopify, and is highly recommended.

0 Likes
New Member
1 0 0

Hi Busfox,

signing the request, meaning the redirection to shopify and the callback?

0 Likes
Shopify Staff
Shopify Staff
340 1 30

Hi Zipdevs,

By signing the request, I mean the initial request that comes from the Shopify checkout to your Hosted Payment url. You should be signing the fields included in the request to determine that the request came from Shopify.

0 Likes
New Member
3 0 1

Hello Busfox,

Could you let me know how to fetch the cart data while user is redirect on my checkout gateway.

 

0 Likes