Changes

Jump to navigation Jump to search
223 bytes added ,  10:05, 14 April 2016
no edit summary
## If user has an active token in GVP_USERS_SIA_CARDS: returns SiaRegisterParams with oldtoken and generates signature for '''modToken''' SIA request.
## Else, returns SiaRegisterParams without oldtoken and generates signature for '''authorise''' SIA request.
# If user has a pending micropayment, returns error (statusCode = 271, statusMessage = WaitingForPendingMicropayment). User will be able to try again when pending micropayment is resumed.
This method only can be used by logged user.
|ParamDescription= It is the URL to redirect end user browser at the end of a successful credit card registration/replacement. <br/>
:It will be used together with clientUrlKo to generate URLOK in this way: Params.URLOK = [BLOCK1]?clientUrlOK=[BLOCK2]&clientUrlKO=[BLOCK3] where:<br/>
::BLOCK1 is gvp.sia.api endpoint offering CreditCardController Confirm service which processes SIA successful transactions. This endpoint is configured by operator at instance parameter SIA_URL_OK. Example: http://sianotification.mca.tid.es/api/creditcard/confirm<br/>::BLOCK2 is URL to redirect end user browser at the end of a successful credit card registration/replacement. This URL is sent by PCClient to gvp.api as input parameter clientUrlOk to manageCreditCard service. Example: http://vivoplay.mca.tid.es/CreditCardOk<br/>::BLOCK3 is URL to redirect end user browser at the end of a credit card registration/replacement which seems to be OK at SIA side but fails at GVP (e.g. because signature validation fails). This URL is sent by PCClient to gvp.api as input parameter clientUrlKo to manageCreditCard service. Example: http://vivoplay.mca.tid.es/CreditCardFailed
}}
{{Api_Parameter|
|ParamDescription=It is the URL to redirect end user browser at the end of a failed credit card registration/replacement. <br/>
:It will be used to generate URLKO in this way: Params.URLKO = [BLOCK1]?clientUrlKO=[BLOCK2] where:<br/>
::BLOCK1 is gvp.sia.api endpoint offering CreditCardController Refuse service which processes SIA successful transactions. This endpoint is configured by operator at instance parameter SIA_URL_OK. Example: http://sianotification.mca.tid.es/api/creditcard/refuse<br/>::BLOCK2 is URL to redirect end user browser at the end of a failed credit card registration. This URL is sent by PCClient to gvp.api as input parameter clientUrlKo to manageCreditCard service. Example: http://vivoplay.mca.tid.es/CreditCardFailed
}}
|Exceptions=
* [[AuthenticationRequiredException]]
* ...[[WaitingForPendingMicropayment]]
Bureaucrats, editor
59

edits

Navigation menu