Reply
Contributor
Posts: 10
Registered: ‎11-28-2017
Accepted Solution

ANET Hosted Form PaymentProfile cannot be sent with billing data.

Using HOSTED PAYMENT FORM against the Production's environment we're receiving the following exception:

 

PaymentProfile cannot be sent with billing data.

 

This was working without hiccups against the sandbox.

 

Which could be the source of the issue.  We're seeing clearly that once presented the hosted form shows the available payment methods under the passed customer's profile.

 

Thanks in advance for any help that can be provided,

 

Gabe.


Accepted Solutions
Solution
Accepted by topic author ggramajo
‎01-10-2018 08:29 AM
Contributor
Posts: 10
Registered: ‎11-28-2017

Re: ANET Hosted Form PaymentProfile cannot be sent with billing data.

I was able to figure out that if I include the setting:

 

settingNameEnum.hostedPaymentBillingAddressOptions.ToString() in show = true

 

and a profile has been provided then that error raises.

 

Now the exception thrown by the API it's not clear at all about the source of the error.

 

Thanks,

 

Gabe.

 

View solution in original post


All Replies
Contributor
Posts: 10
Registered: ‎11-28-2017

Re: ANET Hosted Form PaymentProfile cannot be sent with billing data.

Any ideas what could be wrong here ?

 

Thanks in advance,

 

Gabe.

Solution
Accepted by topic author ggramajo
‎01-10-2018 08:29 AM
Contributor
Posts: 10
Registered: ‎11-28-2017

Re: ANET Hosted Form PaymentProfile cannot be sent with billing data.

I was able to figure out that if I include the setting:

 

settingNameEnum.hostedPaymentBillingAddressOptions.ToString() in show = true

 

and a profile has been provided then that error raises.

 

Now the exception thrown by the API it's not clear at all about the source of the error.

 

Thanks,

 

Gabe.

 

Administrator
Posts: 81
Registered: ‎03-13-2017

Re: ANET Hosted Form PaymentProfile cannot be sent with billing data.

Hi @ggramajo

 

The team is aware of this issue and will be fixing it in the upcoming release . 

 

For now as a workaround please pass 

settingNameEnum.hostedPaymentBillingAddressOptions.ToString() in show = false  in the settings . 

Contributor
Posts: 10
Registered: ‎11-28-2017

Re: ANET Hosted Form PaymentProfile cannot be sent with billing data.

Hi ,

 

I imagine that you guys are aware that if I try to add a new card to the passed profile under those conditions it's going to return an AVS Mismatch exception.

 

Thanks,

 

Gabe.

 

 

Administrator
Posts: 81
Registered: ‎03-13-2017

Re: ANET Hosted Form PaymentProfile cannot be sent with billing data.

Can you provide more details on this use case ?

 

It should be able to add a new card in the customer profile without passing BillTO .

Contributor
Posts: 10
Registered: ‎11-28-2017

Re: ANET Hosted Form PaymentProfile cannot be sent with billing data.

Hi anuragg:

 

So it's really simple to reproduce if you pass the setting in conjunction with a profile id:

 

settings[4] = new settingType();
settings[4].settingName = settingNameEnum.hostedPaymentBillingAddressOptions.ToString();
settings[4].settingValue = "{\"show\": true}";

 

and you try to add a payment type (new cc) then the error is sourced in an AVS mismatch while processing the data on the credit card holder's information:  address, city, etc.  We confimed this with different credit cards for which we're 100% sure the right information is provided and it's always the same outcome.

 

Regards,

 

Gabe.

 

 

Contributor
Posts: 10
Registered: ‎11-28-2017

Re: ANET Hosted Form PaymentProfile cannot be sent with billing data.

Also anuragg:

 

Can you guys provide an ETA of when the problem is going to be resolved ?

 

Thanks in advance,

 

Gabe.

Contributor
Posts: 10
Registered: ‎11-28-2017

Re: ANET Hosted Form PaymentProfile cannot be sent with billing data.

Any updates to the questions in here ?

Highlighted
New Member
Posts: 1
Registered: ‎02-13-2018

Re: ANET Hosted Form PaymentProfile cannot be sent with billing data.

We just experienced this bug as well with a customer.

 

Any updates on the fix?