Comments (2)
Hi,
Thanks a lot for your question. This SDK is actually not fully up to date. A new version is currently in development. We will get back to you very soon.
We changed the root URL, that's why you're getting such an issue. You can force it using this code (replacing the URL by this one):
MangoPay.configure do |c|
c.client_id = ...
c.client_passphrase = ...
c.root_url = 'https://api.sandbox.mangopay.com'
end
The other changes will be additional objects or requests.
Best
Florian
from mangopay2-ruby-sdk.
great thanks - i've added these to a .env file.
MangoPay.configure do |c|
c.client_id = ENV["MANGOPAY_CLIENTID"]
c.client_passphrase = ENV["MANGOPAY_PASSPHRASE"]
c.root_url = 'https://api.sandbox.mangopay.com'
end
from mangopay2-ruby-sdk.
Related Issues (20)
- Undocumented removal of client_passphrase in version 3.0.32 HOT 1
- Getting `MangoPay::ResponseError: The authorization credentials are not valid` after running several tests HOT 7
- Can't send headers in update request HOT 1
- Can't create a user: The requested resource does not support http method 'POST'. (MangoPay::ResponseError) HOT 1
- FilterParameters.response doesnt handle cases when the response is not valid json HOT 3
- Test
- NoMethodError undefined method `body' for nil:NilClass on Net::ReadTimeout error HOT 2
- Error avec le compte production HOT 5
- Effectuer un refund sur un payin HOT 2
- The requested resource does not support http method 'POST' on MangoPay::KycDocument.create_page HOT 5
- Backward-compatibility HOT 7
- Error instead of payment form on api.sandbox.mangopay.com/Content/PaylineTemplateWidget HOT 5
- Not all classes supports headers options and recurring pay in registratoin get endpoint is missing HOT 1
- Missing fetching of recurring pay in registration object HOT 1
- Which version to use? v3 or v4? HOT 1
- Allow setting http open_timeout
- Allow setting max_retries
- HTTP request defaults HOT 1
- Can't access "consult_url" in sandbox HOT 1
- MultiJson::ParseError is thrown on HTTP error 5XX HOT 1
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 mangopay2-ruby-sdk.