@@ -770,7 +770,7 @@ The [=steps to respond to a payment request=] for this payment method, for a giv
770
770
771
771
: {{AuthenticationExtensionsPaymentInputs/isPayment}}
772
772
:: The boolean value `true`.
773
- : {{AuthenticationExtensionsPaymentInputs/rp }}
773
+ : {{AuthenticationExtensionsPaymentInputs/rpId }}
774
774
:: |data|["{{SecurePaymentConfirmationRequest/rpId}}"]
775
775
: {{AuthenticationExtensionsPaymentInputs/topOrigin}}
776
776
:: |topOrigin|
@@ -872,7 +872,7 @@ directly; for authentication the extension can only be accessed via
872
872
boolean isPayment;
873
873
874
874
// Only used for authentication.
875
- USVString rp ;
875
+ USVString rpId ;
876
876
USVString topOrigin;
877
877
DOMString payeeName;
878
878
USVString payeeOrigin;
@@ -887,7 +887,7 @@ directly; for authentication the extension can only be accessed via
887
887
888
888
<div class="note"> **TODO**: Find a better way to do this. Needed currently because other members are auth-time only.</div>
889
889
890
- : <dfn>rp </dfn> member
890
+ : <dfn>rpId </dfn> member
891
891
:: The [=Relying Party=] id of the credential(s) being used. Only used at authentication time; not registration.
892
892
893
893
: <dfn>topOrigin</dfn> member
@@ -989,8 +989,8 @@ directly; for authentication the extension can only be accessed via
989
989
1. {{CollectedClientPaymentData/payment}} set to a new
990
990
{{CollectedClientAdditionalPaymentData}} whose fields are:
991
991
992
- : {{CollectedClientAdditionalPaymentData/rp }}
993
- :: |extension_inputs|["{{AuthenticationExtensionsPaymentInputs/rp }}"]
992
+ : {{CollectedClientAdditionalPaymentData/rpId }}
993
+ :: |extension_inputs|["{{AuthenticationExtensionsPaymentInputs/rpId }}"]
994
994
: {{CollectedClientAdditionalPaymentData/topOrigin}}
995
995
:: |extension_inputs|["{{AuthenticationExtensionsPaymentInputs/topOrigin}}"]
996
996
: {{CollectedClientAdditionalPaymentData/payeeName}}
@@ -1036,7 +1036,7 @@ The {{CollectedClientPaymentData}} dictionary inherits from
1036
1036
1037
1037
<xmp class="idl">
1038
1038
dictionary CollectedClientAdditionalPaymentData {
1039
- required USVString rp ;
1039
+ required USVString rpId ;
1040
1040
required USVString topOrigin;
1041
1041
DOMString payeeName;
1042
1042
USVString payeeOrigin;
@@ -1049,9 +1049,13 @@ The {{CollectedClientAdditionalPaymentData}} dictionary contains the following
1049
1049
fields:
1050
1050
1051
1051
<dl dfn-type="dict-member" dfn-for="CollectedClientAdditionalPaymentData">
1052
- : <dfn>rp </dfn> member
1052
+ : <dfn>rpId </dfn> member
1053
1053
:: The id of the [=Relying Party=] that created the credential.
1054
1054
1055
+ NOTE: For historical reasons, some implementations may additionally
1056
+ include this parameter with the name `rp`. The values of `rp` and
1057
+ `rpId` must be the same if both are present.
1058
+
1055
1059
: <dfn>topOrigin</dfn> member
1056
1060
:: The origin of the top level context that requested to sign the transaction details.
1057
1061
@@ -1173,7 +1177,7 @@ Confirmation, the [=Relying Party=] MUST proceed as follows:
1173
1177
1174
1178
1. After step 13, insert the following steps:
1175
1179
1176
- * Verify that the value of |C|["{{CollectedClientPaymentData/payment}}"]["{{CollectedClientAdditionalPaymentData/rp }}"]
1180
+ * Verify that the value of |C|["{{CollectedClientPaymentData/payment}}"]["{{CollectedClientAdditionalPaymentData/rpId }}"]
1177
1181
matches the [=Relying Party=] 's origin.
1178
1182
1179
1183
* Verify that the value of |C|["{{CollectedClientPaymentData/payment}}"]["{{CollectedClientAdditionalPaymentData/topOrigin}}"]
0 commit comments