You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[CyberSource API Keys](https://prod.developer.cybersource.com/api/developer-guides/dita-gettingstarted/registration/createCertSharedKey.html)
15
-
15
+
16
16
## Dependencies
17
17
* PHP-JWT : JWT token Generation
18
18
* CURL : Http communication with the payment gateway
19
-
* PHP_APCU : Caching
19
+
* PHP_APCU : Caching
20
20
* phpunit-5.7.25 : unit testing
21
21
* phpunit-5.7.25 code coverage : Sonar coverage
22
22
23
23
## Installation
24
24
### Composer
25
25
We recommend using [`Composer`](http://getcomposer.org). *(Note: we never recommend you
26
-
override the new secure-http default setting)*.
26
+
override the new secure-http default setting)*.
27
27
*Update your composer.json file as per the example below and then run
28
28
`composer update`.*
29
29
30
30
```json
31
31
{
32
32
"require": {
33
33
"php": ">=5.6",
34
-
"cybersource/rest-client-php": "0.0.32"
34
+
"cybersource/rest-client-php": "0.0.33"
35
35
}
36
36
}
37
37
```
38
38
39
39
## Registration & Configuration
40
40
Use of this SDK and the CyberSource APIs requires having an account on our system. You can find details of getting a test account and creating your keys [here](https://developer.cybersource.com/api/developer-guides/dita-gettingstarted/registration.html)
41
41
42
-
Once you have your keys, simply load them into the appropriate variables in your code, as per the below sample code dealing with the authentication part of the API request.
42
+
Once you have your keys, simply load them into the appropriate variables in your code, as per the below sample code dealing with the authentication part of the API request.
43
43
44
-
Remember this SDK is for use in server-side PHP applications that access the CyberSource REST API and credentials should always be securely stored and accessed appropriately.
44
+
Remember this SDK is for use in server-side PHP applications that access the CyberSource REST API and credentials should always be securely stored and accessed appropriately.
45
45
46
46
## SDK Usage Examples and Sample Code
47
47
To get started using this SDK, it's highly recommended to download our sample code repository:
@@ -67,11 +67,11 @@ Further information on MetaKey can be found in [New Business Center User Guide](
67
67
## To set your API credentials for an API request, configure the following information in ExternalConfiguration.php file:
68
68
69
69
Create a file in your application `ExternalConfiguration.php` inside a `Resources` folder and configure the following information as per requirement similar to [**this one**](https://github.com/CyberSource/cybersource-rest-samples-php/blob/master/Resources/ExternalConfiguration.php).
70
-
71
-
#### For Http Signature Authentication
72
-
70
+
71
+
#### For Http Signature Authentication
72
+
73
73
Configure the following information in `ExternalConfiguration.php` file
74
-
74
+
75
75
* Authentication Type: Merchant should enter "HTTP_SIGNATURE" for HTTP authentication mechanism.
76
76
* Merchant ID: Merchant will provide the merchant ID, which has taken from EBC portal.
77
77
* MerchantSecretKey: Merchant will provide the secret Key value, which has taken from EBC portal.
@@ -102,7 +102,7 @@ Further information on MetaKey can be found in [New Business Center User Guide](
102
102
#### For Jwt Signature Authentication
103
103
104
104
Configure the following information in the `ExternalConfiguration.php` file
105
-
105
+
106
106
* Authentication Type: Merchant should enter "JWT" for JWT authentication mechanism.
107
107
* Merchant ID: Merchant will provide the merchant ID, which was taken from EBC portal.
108
108
* keyAlias: Alias of the Merchant ID, to be used while generating the JWT token.
[[Back to top]](#)[[Back to API list]](../../README.md#documentation-for-api-endpoints)[[Back to Model list]](../../README.md#documentation-for-models)[[Back to README]](../../README.md)
@@ -100,8 +100,7 @@ No authorization required
100
100
101
101
### HTTP request headers
102
102
103
-
-**Content-Type**: application/json;charset=utf-8
103
+
-**Content-Type**: */*;charset=utf-8
104
104
-**Accept**: application/hal+json
105
105
106
106
[[Back to top]](#)[[Back to API list]](../../README.md#documentation-for-api-endpoints)[[Back to Model list]](../../README.md#documentation-for-models)[[Back to README]](../../README.md)
Copy file name to clipboardExpand all lines: docs/Model/PtsV2PaymentsPost201ResponseConsumerAuthenticationInformation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
**acsUrl** | **string** | URL for the card-issuing bank’s authentication form that you receive when the card is enrolled. The value can be very large. | [optional]
10
10
**authenticationPath** | **string** | Indicates what displays to the customer during the authentication process. This field can contain one of these values: - `ADS`: (Card not enrolled) customer prompted to activate the card during the checkout process. - `ATTEMPTS`: (Attempts processing) Processing briefly displays before the checkout process is completed. - `ENROLLED`: (Card enrolled) the card issuer’s authentication window displays. - `UNKNOWN`: Card enrollment status cannot be determined. - `NOREDIRECT`: (Card not enrolled, authentication unavailable, or error occurred) nothing displays to the customer. The following values can be returned if you are using rules-based payer authentication. - `RIBA`: The card-issuing bank supports risk-based authentication, but whether the cardholder is likely to be challenged cannot be determined. - `RIBA_PASS`: The card-issuing bank supports risk-based authentication and it is likely that the cardholder will not be challenged to provide credentials, also known as _silent authentication_. For details about possible values, see `pa_enroll_authentication_path` field description and \"Rules-Based Payer Authentication\" in [CyberSource Payer Authentication Using the SCMP API.] (https://apps.cybersource.com/library/documentation/dev_guides/Payer_Authentication_SCMP_API/html/) | [optional]
11
11
**authorizationPayload** | **string** | The Base64 encoded JSON Payload of CB specific Authorization Values returned in the challenge Flow | [optional]
12
-
**authenticationTransactionId** | **string** | Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages. | [optional]
12
+
**authenticationTransactionId** | **string** | Payer authentication transaction identifier is used to link the check enrollment and validate authentication messages. For Rupay, this field should be passed as request only for Resend OTP use case. | [optional]
13
13
**cardholderMessage** | **string** | Text provided by the ACS/Issuer to Cardholder during a Frictionless or Decoupled transaction.The Issuer can provide information to Cardholder. For example, “Additional authentication is needed for this transaction, please contact (Issuer Name) at xxx-xxx-xxxx.”. The Issuing Bank can optionally support this value. | [optional]
14
14
**cavv** | **string** | Unique identifier generated by the card-issuing bank for Visa, American Express, JCB, Diners Club, and Discover transactions after the customer is authenticated. The value is in base64. When you request the card authorization service, CyberSource automatically converts the value, not the field name, to the format required by your payment processor. | [optional]
15
15
**cavvAlgorithm** | **string** | Field that is returned only when the CAVV is generated, which occurs when paresStatus contains the values Y (successful authentication) or A (attempted authentication). If you use the ATOS processor, send the value of this field in the `cavv_algorithm` request field of the authorization service. This field contains one of these values: - `2`: Visa, American Express, JCB, Diners Club, and Discover - `3`: Mastercard | [optional]
Copy file name to clipboardExpand all lines: docs/Model/PtsV2PaymentsPost201ResponseIssuerInformation.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
**discretionaryData** | **string** | Data defined by the issuer. The value for this reply field will probably be the same as the value that you submitted in the authorization request, but it is possible for the processor, issuer, or acquirer to modify the value. This field is supported only for Visa transactions on **CyberSource through VisaNet**. For details, see `issuer_additional_data` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional]
8
8
**countrySpecificDiscretionaryData** | **string** | Data defined by the issuer. This national use field contains two subfields for information unique to the processing of Visa transactions by members in Japan. This subfield contains the Katakana text to be printed on the receipt. For details, see `jpo_issuer_message` field description in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) | [optional]
9
9
**responseCode** | **string** | Additional authorization code that must be printed on the receipt when returned by the processor. This value is generated by the processor and is returned only for a successful transaction. This reply field is supported only for these processors: - FDC Nashville Global - SIX | [optional]
10
+
**responseRaw** | **string** | issuerInformation.responseRaw is the raw processor auth response returned to merchant in CYBS auth response if auth request includes \"processingInformation.isReturnAuthRecordEnabled=true\". If supported by the gateway code, it is available to merchants who auth through CYBS and run their own settlement processing. | [optional]
10
11
11
12
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**category** | **string** | Categorization of response message from processor Possible Values: - `APPROVED` - `ISSUER_WILL_NEVER_APPROVE` - `ISSUER_CANT_APPROVE_AT_THIS_TIME` - `ISSUER_CANT_APPROVE_WITH_THESE_DETAILS` - `GENERIC_ERROR` - `OTHERS` - `MATCH_NOT_FOUND` | [optional]
7
+
**categoryCode** | **string** | Categorization Code of response message from processor Possible Values: - `01` : Issuer Will Never Approve - `02` : Issuer Can't Approve at this Time - `03` : Issuer Can't Approve with these Details - `04` : Generic Error - `98` : Others - `99` : Payment Insights Response Category Match Not Found | [optional]
8
+
9
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments