[MODERATE EMAIL] ValueLink Integration

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[MODERATE EMAIL] ValueLink Integration

Deepak Dixit-3
Hi Laxmi Bhardwaj,

Your email has been moderated,
Please subscribe mailing list http://ofbiz.apache.org/mailing-lists.html


Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com
www.hotwax.co


---------- Forwarded message ----------
From: Laxmi <[hidden email]>
To: [hidden email]
Cc:
Bcc:
Date: Sun, 3 Dec 2017 23:03:25 -0700 (MST)
Subject: ValueLink Integration
How can I get the values for below attributes mentioned in
payment.properties?

############################################
# ValueLink Configuration
############################################

# Full merchant ID (MMMMMMMMMMM)
payment.valuelink.merchantId=[MERCHANT_ID]

# Terminal ID (should be different for each application server starting at
0001)
payment.valuelink.terminalId=0001

# Alternate merchant ID (i.e. store ID, etc)
payment.valuelink.altMerchantId=999

# Modes (SVDotRaw, Debug, etc) delimited by '/'
payment.valuelink.modes=Debug/SVDotRaw

# URL to use to communicate with ValueLink
payment.valuelink.url=https://www.callit.com/vltest/api1.asp

# Connection timeout in seconds
payment.valuelink.timeout=34

# Debug mode dumps all request/response info to the console (Y|N)
payment.valuelink.debug=Y

# Certificate alias to pass for client auth
payment.valuelink.certificateAlias=

# ValueLink Timestamp Format
payment.valuelink.timestamp=ddMMyyyyHHmmss

# Prime Modulus (P) for key generation (should be a hex string will be
converted to unsigned BigInteger from byte array)
payment.valuelink.prime=

# Generator (G) for key generation (should be smaller then prime, so this
should be in the form for a integer)
payment.valuelink.generator=

# ValueLink Public Value (128byte as Hex String)
payment.valuelink.publicValue=



--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-Dev-f165671.html
Reply | Threaded
Open this post in threaded view
|

Re: [MODERATE EMAIL] ValueLink Integration

Deepak Dixit-3
Hi Laxmi Bhardwaj,

You can use getPropertyValue method of  EntityUtilProperties of
UtilProperties class

Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com
www.hotwax.co

On Mon, Dec 4, 2017 at 11:43 AM, Deepak Dixit <
[hidden email]> wrote:

> Hi Laxmi Bhardwaj,
>
> Your email has been moderated,
> Please subscribe mailing list http://ofbiz.apache.org/mailing-lists.html
>
>
> Thanks & Regards
> --
> Deepak Dixit
> www.hotwaxsystems.com
> www.hotwax.co
>
>
> ---------- Forwarded message ----------
> From: Laxmi <[hidden email]>
> To: [hidden email]
> Cc:
> Bcc:
> Date: Sun, 3 Dec 2017 23:03:25 -0700 (MST)
> Subject: ValueLink Integration
> How can I get the values for below attributes mentioned in
> payment.properties?
>
> ############################################
> # ValueLink Configuration
> ############################################
>
> # Full merchant ID (MMMMMMMMMMM)
> payment.valuelink.merchantId=[MERCHANT_ID]
>
> # Terminal ID (should be different for each application server starting at
> 0001)
> payment.valuelink.terminalId=0001
>
> # Alternate merchant ID (i.e. store ID, etc)
> payment.valuelink.altMerchantId=999
>
> # Modes (SVDotRaw, Debug, etc) delimited by '/'
> payment.valuelink.modes=Debug/SVDotRaw
>
> # URL to use to communicate with ValueLink
> payment.valuelink.url=https://www.callit.com/vltest/api1.asp
>
> # Connection timeout in seconds
> payment.valuelink.timeout=34
>
> # Debug mode dumps all request/response info to the console (Y|N)
> payment.valuelink.debug=Y
>
> # Certificate alias to pass for client auth
> payment.valuelink.certificateAlias=
>
> # ValueLink Timestamp Format
> payment.valuelink.timestamp=ddMMyyyyHHmmss
>
> # Prime Modulus (P) for key generation (should be a hex string will be
> converted to unsigned BigInteger from byte array)
> payment.valuelink.prime=
>
> # Generator (G) for key generation (should be smaller then prime, so this
> should be in the form for a integer)
> payment.valuelink.generator=
>
> # ValueLink Public Value (128byte as Hex String)
> payment.valuelink.publicValue=
>
>
>
> --
> Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-Dev-f165671.html
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [MODERATE EMAIL] ValueLink Integration

Swapnil Mane
In reply to this post by Deepak Dixit-3
Hello Laxmi,

You can use EntityUtilProperties.getPropertyValue method.
e.g.

String valueLinkUrl =
EntityUtilProperties.getPropertyValue("payment.properties",
"payment.valuelink.merchantId", "default-value", delegator);

For more overloaded getPropertyValue method, please refer

https://github.com/apache/ofbiz/blob/7ba7f3c2e16df6c8db0d8114e124957199cea1ff/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityUtilProperties.java#L101

<https://github.com/apache/ofbiz/blob/7ba7f3c2e16df6c8db0d8114e124957199cea1ff/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityUtilProperties.java#L101>

- Best Regards,
Swapnil M Mane,
http://www.hotwaxsystems.com


On Mon, Dec 4, 2017 at 11:43 AM, Deepak Dixit <
[hidden email]> wrote:

> Hi Laxmi Bhardwaj,
>
> Your email has been moderated,
> Please subscribe mailing list http://ofbiz.apache.org/mailing-lists.html
>
>
> Thanks & Regards
> --
> Deepak Dixit
> www.hotwaxsystems.com
> www.hotwax.co
>
>
> ---------- Forwarded message ----------
> From: Laxmi <[hidden email]>
> To: [hidden email]
> Cc:
> Bcc:
> Date: Sun, 3 Dec 2017 23:03:25 -0700 (MST)
> Subject: ValueLink Integration
> How can I get the values for below attributes mentioned in
> payment.properties?
>
> ############################################
> # ValueLink Configuration
> ############################################
>
> # Full merchant ID (MMMMMMMMMMM)
> payment.valuelink.merchantId=[MERCHANT_ID]
>
> # Terminal ID (should be different for each application server starting at
> 0001)
> payment.valuelink.terminalId=0001
>
> # Alternate merchant ID (i.e. store ID, etc)
> payment.valuelink.altMerchantId=999
>
> # Modes (SVDotRaw, Debug, etc) delimited by '/'
> payment.valuelink.modes=Debug/SVDotRaw
>
> # URL to use to communicate with ValueLink
> payment.valuelink.url=https://www.callit.com/vltest/api1.asp
>
> # Connection timeout in seconds
> payment.valuelink.timeout=34
>
> # Debug mode dumps all request/response info to the console (Y|N)
> payment.valuelink.debug=Y
>
> # Certificate alias to pass for client auth
> payment.valuelink.certificateAlias=
>
> # ValueLink Timestamp Format
> payment.valuelink.timestamp=ddMMyyyyHHmmss
>
> # Prime Modulus (P) for key generation (should be a hex string will be
> converted to unsigned BigInteger from byte array)
> payment.valuelink.prime=
>
> # Generator (G) for key generation (should be smaller then prime, so this
> should be in the form for a integer)
> payment.valuelink.generator=
>
> # ValueLink Public Value (128byte as Hex String)
> payment.valuelink.publicValue=
>
>
>
> --
> Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-Dev-f165671.html
>
Reply | Threaded
Open this post in threaded view
|

RE: [MODERATE EMAIL] ValueLink Integration

Laxmi
Hi,

This is not what I meant by asking how can I get the values of these attributes. May be I was not clear enough.
Let me rephrase it. Like for Cybersource integration I had to make an account on Cybersource which gave me the certificate and other required attributes , same way where I should make account to get the values of valuelink attributes?

Thanks & Regards,
Laxmi

From: Swapnil Mane [mailto:[hidden email]]
Sent: Monday, December 04, 2017 12:08 PM
To: Dev list <[hidden email]>; Laxmi Bhardwaj <[hidden email]>
Subject: Re: [MODERATE EMAIL] ValueLink Integration

Hello Laxmi,
You can use EntityUtilProperties.getPropertyValue method.
e.g.

String valueLinkUrl = EntityUtilProperties.getPropertyValue("payment.properties", "payment.valuelink.merchantId", "default-value", delegator);

For more overloaded getPropertyValue method, please refer
https://github.com/apache/ofbiz/blob/7ba7f3c2e16df6c8db0d8114e124957199cea1ff/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityUtilProperties.java#L101

<https://github.com/apache/ofbiz/blob/7ba7f3c2e16df6c8db0d8114e124957199cea1ff/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityUtilProperties.java#L101>

- Best Regards,
Swapnil M Mane,
http://www.hotwaxsystems.com


On Mon, Dec 4, 2017 at 11:43 AM, Deepak Dixit <[hidden email]<mailto:[hidden email]>> wrote:
Hi Laxmi Bhardwaj,

Your email has been moderated,
Please subscribe mailing list http://ofbiz.apache.org/mailing-lists.html


Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com<http://www.hotwaxsystems.com>
www.hotwax.co<http://www.hotwax.co>


---------- Forwarded message ----------
From: Laxmi <[hidden email]<mailto:[hidden email]>>
To: [hidden email]<mailto:[hidden email]>
Cc:
Bcc:
Date: Sun, 3 Dec 2017 23:03:25 -0700 (MST)
Subject: ValueLink Integration
How can I get the values for below attributes mentioned in
payment.properties?

############################################
# ValueLink Configuration
############################################

# Full merchant ID (MMMMMMMMMMM)
payment.valuelink.merchantId=[MERCHANT_ID]

# Terminal ID (should be different for each application server starting at
0001)
payment.valuelink.terminalId=0001

# Alternate merchant ID (i.e. store ID, etc)
payment.valuelink.altMerchantId=999

# Modes (SVDotRaw, Debug, etc) delimited by '/'
payment.valuelink.modes=Debug/SVDotRaw

# URL to use to communicate with ValueLink
payment.valuelink.url=https://www.callit.com/vltest/api1.asp

# Connection timeout in seconds
payment.valuelink.timeout=34

# Debug mode dumps all request/response info to the console (Y|N)
payment.valuelink.debug=Y

# Certificate alias to pass for client auth
payment.valuelink.certificateAlias=

# ValueLink Timestamp Format
payment.valuelink.timestamp=ddMMyyyyHHmmss

# Prime Modulus (P) for key generation (should be a hex string will be
converted to unsigned BigInteger from byte array)
payment.valuelink.prime=

# Generator (G) for key generation (should be smaller then prime, so this
should be in the form for a integer)
payment.valuelink.generator=

# ValueLink Public Value (128byte as Hex String)
payment.valuelink.publicValue=



--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-Dev-f165671.html

Reply | Threaded
Open this post in threaded view
|

Re: [MODERATE EMAIL] ValueLink Integration

Jacques Le Roux
Administrator
In reply to this post by Deepak Dixit-3
Hi Laxmi,

I moderated (accepted) one more of your messages.

Moreover your questions are more for the user ML than the dev ML, see why here http://ofbiz.apache.org/mailing-lists.html

Please subscribe to the MLs

Thanks

Jacques


Le 04/12/2017 à 07:37, Deepak Dixit a écrit :

> Hi Laxmi Bhardwaj,
>
> You can use getPropertyValue method of  EntityUtilProperties of
> UtilProperties class
>
> Thanks & Regards
> --
> Deepak Dixit
> www.hotwaxsystems.com
> www.hotwax.co
>
> On Mon, Dec 4, 2017 at 11:43 AM, Deepak Dixit <
> [hidden email]> wrote:
>
>> Hi Laxmi Bhardwaj,
>>
>> Your email has been moderated,
>> Please subscribe mailing list http://ofbiz.apache.org/mailing-lists.html
>>
>>
>> Thanks & Regards
>> --
>> Deepak Dixit
>> www.hotwaxsystems.com
>> www.hotwax.co
>>
>>
>> ---------- Forwarded message ----------
>> From: Laxmi <[hidden email]>
>> To: [hidden email]
>> Cc:
>> Bcc:
>> Date: Sun, 3 Dec 2017 23:03:25 -0700 (MST)
>> Subject: ValueLink Integration
>> How can I get the values for below attributes mentioned in
>> payment.properties?
>>
>> ############################################
>> # ValueLink Configuration
>> ############################################
>>
>> # Full merchant ID (MMMMMMMMMMM)
>> payment.valuelink.merchantId=[MERCHANT_ID]
>>
>> # Terminal ID (should be different for each application server starting at
>> 0001)
>> payment.valuelink.terminalId=0001
>>
>> # Alternate merchant ID (i.e. store ID, etc)
>> payment.valuelink.altMerchantId=999
>>
>> # Modes (SVDotRaw, Debug, etc) delimited by '/'
>> payment.valuelink.modes=Debug/SVDotRaw
>>
>> # URL to use to communicate with ValueLink
>> payment.valuelink.url=https://www.callit.com/vltest/api1.asp
>>
>> # Connection timeout in seconds
>> payment.valuelink.timeout=34
>>
>> # Debug mode dumps all request/response info to the console (Y|N)
>> payment.valuelink.debug=Y
>>
>> # Certificate alias to pass for client auth
>> payment.valuelink.certificateAlias=
>>
>> # ValueLink Timestamp Format
>> payment.valuelink.timestamp=ddMMyyyyHHmmss
>>
>> # Prime Modulus (P) for key generation (should be a hex string will be
>> converted to unsigned BigInteger from byte array)
>> payment.valuelink.prime=
>>
>> # Generator (G) for key generation (should be smaller then prime, so this
>> should be in the form for a integer)
>> payment.valuelink.generator=
>>
>> # ValueLink Public Value (128byte as Hex String)
>> payment.valuelink.publicValue=
>>
>>
>>
>> --
>> Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-Dev-f165671.html
>>
>>
>>
>>