You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Deepak Dixit <de...@hotwaxsystems.com> on 2017/12/04 06:13:16 UTC

[MODERATE EMAIL] ValueLink Integration

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 <la...@taistech.com>
To: dev@ofbiz.apache.org
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

Re: [MODERATE EMAIL] ValueLink Integration

Posted by Jacques Le Roux <ja...@les7arts.com>.
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 <
> deepak.dixit@hotwaxsystems.com> 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 <la...@taistech.com>
>> To: dev@ofbiz.apache.org
>> 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
>>
>>
>>
>>


Re: [MODERATE EMAIL] ValueLink Integration

Posted by Deepak Dixit <de...@hotwaxsystems.com>.
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 <
deepak.dixit@hotwaxsystems.com> 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 <la...@taistech.com>
> To: dev@ofbiz.apache.org
> 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
>
>
>
>

RE: [MODERATE EMAIL] ValueLink Integration

Posted by Laxmi Bhardwaj <la...@taistech.com>.
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:swapnil.mane@hotwaxsystems.com]
Sent: Monday, December 04, 2017 12:08 PM
To: Dev list <de...@ofbiz.apache.org>; Laxmi Bhardwaj <la...@taistech.com>
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 <de...@hotwaxsystems.com>> 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 <la...@taistech.com>>
To: dev@ofbiz.apache.org<ma...@ofbiz.apache.org>
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


Re: [MODERATE EMAIL] ValueLink Integration

Posted by Swapnil Mane <sw...@hotwaxsystems.com>.
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 <
deepak.dixit@hotwaxsystems.com> 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 <la...@taistech.com>
> To: dev@ofbiz.apache.org
> 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
>