Comments (7)
Hi Hafizion,
Thanks for bringing this to our attention! We've added a new variable Client.checkout_url_prefix which should be set to [random]-[company name].
For instance, if your full URL is https://9924a0f19cb1d71c-TestMerchant-checkout-live.adyenpayments.com/checkout/v32/paymentSession, Client.checkout_url_prefix will be 9924a0f19cb1d71c-TestMerchant.
It will be part of the pending 1.0.2 release.
Cheers,
Colin
from adyen-ruby-api-library.
Hi Hafizio,
Yes indeed, there was a bug in the fix for the checkout_url_prefix that broke it for the test environment. It should be working on develop now.
For the URL in the API response, please just pass the encoded paymentSession object to the SDK as is. It's not meant to be decoded or edited in any way.
from adyen-ruby-api-library.
This is what I was able to capture from out Sentry log:
Faraday::ConnectionFailed
Please confirm that Client.env is set to the right value (:live or :test)
SocketError
Failed to open TCP connection to checkout-live.adyen.com:443 (getaddrinfo: Name or service not known)
from adyen-ruby-api-library.
I can also see that the endpoint should be different for the live endpoint:
[random]-[company name]-checkout-live.adyenpayments.com
Reference:
https://docs.adyen.com/developers/development-resources/live-endpoints#checkoutendpoints
from adyen-ruby-api-library.
@crrood creating a payment session works now, but we still notice the wrong URL is being encoded in the checkout token:
{
"checkoutshopperBaseUrl": "https:\/\/checkoutshopper-live.adyen.com\/checkoutshopper\/",
"disableRecurringDetailUrl": "https:\/\/checkoutshopper-live.adyen.com\/checkoutshopper\/services\/PaymentInitiation\/v1\/disableRecurringDetail",
"generationtime": "2018-10-01T07:42:06Z",
"initiationUrl": "https:\/\/checkoutshopper-live.adyen.com\/checkoutshopper\/services\/PaymentInitiation\/v1\/initiate",
...
}
from adyen-ruby-api-library.
Hi Hafizio,
Can you give me a bit more information about where this object came from? It is the response from the API?
from adyen-ruby-api-library.
@crrood that's what we got from the paymentSession
API result (the encoded result). That particular issue has been fixed, we're able to checkout using the :live
option now, but it's now affecting our :test
mode 😓
Faraday::ConnectionFailed: Please confirm that Client.env is set to the right value (:live or :test)
Sentry log:
Failed to open TCP connection to -checkout-live.adyenpayments.com:443 (getaddrinfo: Name or service not known)
We're getting this error when testing on our :test
mode while the :live
option works.
This is the commit that we're using:
gem 'adyen-ruby-api-client', github: 'Adyen/adyen-ruby-api-library', branch: 'develop', ref: '6f49038'
Thanks!
from adyen-ruby-api-library.
Related Issues (20)
- Add support for sessions API HOT 1
- [PW-7545] Incorrect validation of webhooks signature that contain special characters HOT 2
- Dependency Dashboard
- 403 errors with error code and messages are not returned or raised correctly HOT 1
- Donations endpoint on the checkout api HOT 2
- JSON Parser error on deleting stored payment method HOT 1
- v7.0.0 Broken in Live HOT 3
- Calling payment refund fails in 7.0.2 HOT 1
- "Required object 'amount' is not provided." - Got this error by hitting the refund() HOT 1
- NoMethodError: undefined method `default_adapter_options' for Faraday:Module HOT 4
- Missing function for HMAC validation bank webhooks
- Terminal Cloud API endpoints are not region bound and have higher latency
- Sensitive information shouldn't be included in error messages HOT 3
- Checkout Payments v52 - 422 Unprocessable Entity HOT 1
- The `String.to_camel_case` patch collides with the patch from another gem HOT 5
- Marketpay use old version and getting authentication error using createAccountHolder HOT 1
- Apple Pay Issue HOT 1
- Rubygems version has v50 locked into code HOT 2
- Add a HISTORY.md or CHANGELOG.md HOT 3
- Checkout service modifications HOT 5
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 adyen-ruby-api-library.