CyberSource / cybersource-rest-samples-ruby

Ruby sample code for the CyberSource REST API
1 stars 13 forks source link

The following property is either invalid or missing: streamline2_usd_terminal_id #24

Open dimasusername opened 4 years ago

dimasusername commented 4 years ago

As soon as I change the merchantId, merchantKeyId, and merchantSecretKey in configuration transactions appear with the following error.

Running Samples/Payments/CoreServices/ProcessPayment.rb

{:code=>400, :response_headers=>{"Content-Type"=>"application/json", "Content-Length"=>"170", "X-Cnection"=>"close", "x-response-time"=>"290ms", "Strict-Transport-Security"=>"max-age=31536000", "v-c-correlation-id"=>"7079ce85-d3b1-423e-974e-79abacdde8f9"}, :response_body=>"{\"submitTimeUtc\":\"2019-10-09T17:27:37Z\",\"status\":\"INVALID_REQUEST\",\"reason\":\"INVALID_DATA\",\"message\":\"Declined - One or more fields in the request contains invalid data\"}"}

Screen Shot 2019-10-09 at 9 44 01 PM
snavinch commented 4 years ago

Thanks for bringing this to our attention. We will get back to you soon on this.

asimmehmood247 commented 4 years ago

Hi, I am testing https://apitest.cybersource.com/pts/v2/payments and facing the same issue. Api works for test account but not with my key and shared secret. { "submitTimeUtc": "2020-02-16T07:34:41Z", "status": "INVALID_REQUEST", "reason": "INVALID_DATA", "message": "Declined - One or more fields in the request contains invalid data" } Any solution for this? Thank you

maibik commented 4 years ago

Hey, support. Also the same issue I'm facing. Any solutions?

serjyeah commented 4 years ago

Hi guys, Is there any progress with this issue?

asimmehmood247 commented 4 years ago

Hi guys, Is there any progress with this issue?

I don't think so

gnongsie commented 4 years ago

Hi everyone, I am rechecking this issue but I don't see any issue with this from my side.

Can we obtain your test credentials so as to rule out issues with the merchant account? If you can, please send your merchant ID, key ID and shared secret key (for the test account) to gnongsie@visa.com. It would also help if you can send the request payload that you are using for this flow.

gnongsie commented 4 years ago

Hi all,

Thank you to @serjyeah for providing us with this insight.

It seems this is an issue with the configuration of the merchant. When the merchant is registered in a country X, please change the currency in the request to match the currency in country X.

The default currency is set to USD, which may not work for every merchant.

Alternatively, kindly contact CyberSource Customer Support if you want to expand the currencies that you want to support. They will guide you with the necessary steps.

lbanane commented 4 years ago

Hi @gnongsie In my case changing the currency to match the new currency as @serjyeah suggested gave a " "status": "AUTHORIZED"," response in the live console. However, when Ruby was selected and the same change was made we got the following error: { "submitTimeUtc": "2020-08-17T13:38:46Z", "status": "404", "errorInformation": { "reason": "NOT_FOUND", "message": "The requested resource does not exist." } } Do you know what could be causing this issue? Looking forward to feedback Cheers Lbanane

stharvey commented 1 month ago

I also have this issue. What is the best way to resolve this? I am UK based and I need the currency to be GBP. I'm seeing:

The following property is either invalid or missing: streamline2_gbp_terminal_id

Does anyone have any ideas of how best to resolve this?

ws-graham commented 2 weeks ago

Did anyone ever resolve this? We are having the same issue with $CAD in sandbox -

I cannot believe how bad this solution is??!!

On our Portal our link on the footer Worldpay setup instructions goes to a 404 page? https://worldpay.ubctest.cybersource.com/ebc2/app/Home

In transactions the reason code Code Explanation goes to this dead page? https://worldpay.ubctest.cybersource.com/content/worldpay/ebc/help/source/en-us/business-center/user/all/cybs/ebc2_olh/trns_mngmt_intro/view_details/details/reason_code_descriptions.html

stharvey commented 2 weeks ago

@ws-graham I'm afraid not. We wasted quite a few days on this, and endless tedious phone calls to customer support - in the end we decided to move away and use a different provider.

ws-graham commented 2 weeks ago

@stharvey oh i wish a different provider was an option! The phone staff (once you have spent about 20 mins answering questions to speak with someone) are the worst, the guy said to me "we don't have access to the documentation" and the other week they said "you cannot processes test transactions in sandbox, do £1 tests in live" - i'm baffled!