Comments (15)
Thank you.
In the end, this was solved for me by using the DF tags (Device fingerprint Tag - its a tiny javascript include).
Using the same session ID
- when including the DF tag (in the web UI), and
- when making the payment call
helped to fix my issue. The session id helps CYBS to correlate the fingerprint that was generated by the DF tag, and the backend REST api calls we make.
from cybersource-rest-client-node.
I hit this as well. @francisbrito any updates? Did you close because it was solved?
from cybersource-rest-client-node.
@chandru9279 I'm afraid not. I ended up closing the issue due to lack of response.
I ended up sticking to Simple Order API + Checkout API for authorizations and tokenizations, respectively.
from cybersource-rest-client-node.
Hello I have the same problem, I already added the DF scripts and I am sending the session_id in fingerprintSessionId using api rest from cybersource, in the transaction management panel I still get the fingerprint was not sent
from cybersource-rest-client-node.
when adding the DF script, did you add the same ID in the url
<script type='.....' src='......?sessionid={exactmatchingsessionid}>
from cybersource-rest-client-node.
I have added these scripts
inside the head tag:
<script type="text/javascript" src="https://h.online-metrix.net/fp/tags.js?org_id={{$df_org_id}}&session_id={{$merchant_id}}{{$session_id}}"></script>
and inside the body tag:
<noscript>
<iframe style="width: 100px; height: 100px; border: 0; position:absolute; top: -5000px;"
src="https://h.online-metrix.net/fp/tags?org_id={{$df_org_id}}&session_id={{$merchant_id}}{{$session_id}}"></iframe>
</noscript>
As indicated by the cybersource documentation
Using the cybersource API specifically in the payment process, I make a request using ajax from the view that contains the fingerprint scripts
https://apitest.cybersource.com/pts/v2/payments
and sending the following information
{
"clientReferenceInformation": {
"code": "54323007"
},
"paymentInformation": {
"card": {
"number": "4444444444444448",
"expirationMonth": "12",
"expirationYear": "2020"
}
},
"orderInformation": {
"amountDetails": {
"totalAmount": "144.14",
"currency": "USD"
},
"billTo": {
"firstName": "James",
"lastName": "Smith",
"address1": "96, powers street",
"locality": "Clearwater milford",
"administrativeArea": "NH",
"postalCode": "03055",
"country": "US",
"email": "[email protected]",
"phoneNumber": "7606160717"
}
},
"deviceInformation": {
"hostName": "host.com",
"ipAddress": "64.124.61.215",
"userAgent": "Chrome",
"fingerprintSessionId": "xxxxxxxxxxxxxxxxxxxxxx",
"httpBrowserEmail": "[email protected]"
}
}
I have an input with the same data that I build my DF script
<input type="hidden" name="fingerprintSessionId" value="{{$merchant_id}}{{$session_id}}">
in fingerprintSessionId
I already tried sending only $session_id and also {{$merchant_id}}{{$session_id}} together, even in cybersource transaction panel in continuous fingerprint not submited.
I am using the php sdk that has cybersource in github, the ajax request goes directly to my controller, maybe the $session_id is not sent in fingerprintSessionId
of the API....
from cybersource-rest-client-node.
Seems like u are doing everything right. The script tag should have both {{$merchant_id}}{{$session_id}} and the input hidden and subsequent call to payments api should have just the {{$session_id}}. If all this is correct.. perhaps you have a different org id that you need to use. (Its normal to have different orgid between prod and test) Cybersource is not able to find the session, using ur session id.. hence no fingerprint appears. It may be looking in the wrong org
from cybersource-rest-client-node.
I still can't find a solution to this issue, looking at the api rest documentation from cybersource I saw in deviceInformation
, there is an array called rawData
that should be sent with data from the fingerprint.
"deviceInformation": {
"hostName": "",
"ipAddress": "",
"userAgent": "",
"fingerprintSessionId": "",
"rawData": [
{
"data": "",
"provider": ""
}]
}
Regarding the assembly of the DF, the ORG_ID varies according to the environment.
1snn5n9w | sandbox
k8vif92e | production
from cybersource-rest-client-node.
@nanettaboadafriass could you please confirm if device fingerprinting is enabled in your CyberSource profile? If you do not have access to the profile configuration, ask your integration assistant to check for you.
If DF is enabled, could you please confirm if the DF script is been loaded and executed correctly? You can verify this by having a look at the network and console activity in your preferred browser.
If both these look OK, I'd suggest you scale the situation to your integration assistant, and if possible, open a debug session with them. That way they can indicate whether the DF is being received or not by CYBS servers.
from cybersource-rest-client-node.
@francisbrito Thank you very much, I managed to solve the problem in short the org_id
was the problem, cybersource a few weeks ago I updated the credentials.
from cybersource-rest-client-node.
I'm happy to hear your issue was solved @nanettaboadafriass.
from cybersource-rest-client-node.
Could you share your answer? I have exactly the same problem you had
from cybersource-rest-client-node.
The problem was configuring the fingerprint script with the wrong org_id
, I spoke to the cybersource providers in my country and they gave me an updated org_id
and it worked for me, remember that there are two types of org_id one for test and one for production, check that the fingerprint script is loading correctly in your browser in the network section of the development console
from cybersource-rest-client-node.
1snn5n9w | sandbox
k8vif92e | production
Are these the org_id values you used in the end or do you mean they gave you other values?
from cybersource-rest-client-node.
Thank you.
In the end, this was solved for me by using the DF tags (Device fingerprint Tag - its a tiny javascript include).
Using the same session ID
- when including the DF tag (in the web UI), and
- when making the payment call
helped to fix my issue. The session id helps CYBS to correlate the fingerprint that was generated by the DF tag, and the backend REST api calls we make.
Anyone that can help me with fingerprint generation? My Skype andeanbizz
from cybersource-rest-client-node.
Related Issues (20)
- [Breaking Change] GeneratePublicKeyRequest doesn't exist anymore HOT 4
- dependency on vm2 which has critical security vulnerabilities HOT 3
- Field input type HOT 2
- Conform to semantic versioning
- Unable to Upgrade the version to ^0.0.51 KeyGenerationApi is not a constructor?
- Module Not Found in Next.js - AMD module issue and relative paths. HOT 3
- Memory Leak caused by unique Winston categories HOT 2
- package.json
- Unable to use cybersource-rest-client-node in an AWS SAM app
- enableLog flag not working HOT 10
- Please start using SemVer HOT 2
- data.map is not a function when querying validateExportCompliance HOT 2
- Json unmarshal issue with get_transaction_response.go (solution included) HOT 1
- Attempt to write logs with no transports HOT 1
- 'NOREAL NAME' on Token Profile HOT 1
- re-authorization request HOT 1
- Onboard Merchant API question HOT 2
- Unable to patch a customer payment instrument
- Incorrect condition in ExternalLoggerWrapper.isLoggerEmpty() HOT 2
- No valid external logger object found. Turning off external logger flag exception handling HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cybersource-rest-client-node.