Order not working in Wallet

Hi, I am just playing around with the new iOS 16 Wallet Orders according to this Docs which seem to be very similar to the Passes docs.

I tried the pre-signed example orders and they worked well and I love the way they work! Now, I tried signing my own orders, but it doesn't seem to work - they won't be imported in the Wallet app. I attached an example order file. I am now looking for errors for ca. 3 hours and can't find the problem. Here is an iCloud link to the file: https://www.icloud.com/iclouddrive/007XddfV5fmgbwNmdMGqcQgyw#pass

I'd be happy if anyone can help me finding the problem. Some spots I could have mistakes are the several identifiers: The Order Type identifier and the Merchant Identifier. Here are my identifiers:

  • order type: order.de.itm.wallet.demo
  • merchant: merchant.de.it-media-hof.demo

I used one of the template JSONs as my order json, modified according to my identifiers. I also tried removing the merchant.part in front of the merchant ID, but it didn't change anything.

I also don't know, if the signature looks the way it has to look like, as I am not that much familiar with P7-Signatures.

THANKS for any help in advance :)

Hey there,

Looks like you're generating hashes for the manifest with SHA-1. With order bundles, you should generate hashes for the manifest using SHA-256. For more information see Building a distributable order package.

Order not working in Wallet
 
 
Q