Using a merchant session from an external website in PKPaymentAuthorizationController?

There's a purchase I make pretty often on a particular site and I'm trying to automate the boring parts with a macOS app.

I can pull the merchant session from their ValidateMerchant endpoint.

I can see the Apple Pay dialogue appear, then it will disappear with "Payment Not Completed." Is it fundamentally not possible to use someone else's merchant session in your own app?

Thanks

Answered by DTS Engineer in 893721022

Hi @hasan-g,

You wrote:

[...] I can see the Apple Pay dialogue appear, then it will disappear with "Payment Not Completed." Is it fundamentally not possible to use someone else's merchant session in your own app?

Correct. This is working as designed, as your attempts are invalidating the merchant session. This also constitutes unauthorized use of the Apple Pay merchant's identity.

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Hi @hasan-g,

You wrote:

[...] I can see the Apple Pay dialogue appear, then it will disappear with "Payment Not Completed." Is it fundamentally not possible to use someone else's merchant session in your own app?

Correct. This is working as designed, as your attempts are invalidating the merchant session. This also constitutes unauthorized use of the Apple Pay merchant's identity.

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Using a merchant session from an external website in PKPaymentAuthorizationController?
 
 
Q