KlarnaOnDemand.OriginProof Class
Generates an origin proof that can be used to verify the details of a purchase.
Constructor
KlarnaOnDemand.OriginProof
(
-
amount
-
currency
-
userToken
Parameters:
-
amount
IntThe purchase's total amount in "cents".
-
currency
StringThe currency used in this purchase (“SEK”, “EUR”, or other ISO 4217 codes).
-
userToken
StringToken identifying the user making the purchase.