Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for new features, e.g. CancelUrl and Idempotency-Key #160

Closed
grekko opened this issue Jan 25, 2023 · 4 comments
Closed

Support for new features, e.g. CancelUrl and Idempotency-Key #160

grekko opened this issue Jan 25, 2023 · 4 comments
Assignees

Comments

@grekko
Copy link

grekko commented Jan 25, 2023

Dear Mollie-Team,

I am currently evaluating the Mollie Payment and Order API and corresponding ruby API client. I noticed that the Mollie API released new features in December 22 (see https://docs.mollie.com/changelog/v2/changelog#december-2022) which are not yet officially supported by this client. I am very much interested in using the cancelUrl-param and having support for Idempotency-Key in the ruby client.

What are your plans for officially supporting these features in the ruby client?

@justincase
Copy link
Collaborator

Hi @grekko,

I can likely add support for both over the weekend. Are there any other features you need that haven't been implemented yet?

@justincase justincase self-assigned this Jan 25, 2023
@grekko
Copy link
Author

grekko commented Jan 26, 2023

Hey @justincase thanks for the quick response.

So far my use cases are already covered by the api client, thanks.

@justincase
Copy link
Collaborator

Hi @grekko,

Payments and orders now support the cancel_url attribute.

Note: the idempotency key functionality is an open beta feature. The exact implementation details may still be changed in the final release. Example usage:

payment = Mollie::Payment.create(
  amount:       { value: '10.00', currency: 'EUR' },
  description:  'My first payment',
  redirect_url: 'https://webshop.example.org/order/12345/',
  webhook_url:  'https://webshop.example.org/payments/webhook/',
  metadata: {
    order_id: '12345'
  },
  idempotency_key: '<your-idempotency-key-here>'
)

Please let me know if this solves your requirements. Thanks!

@grekko
Copy link
Author

grekko commented Jan 30, 2023

Please let me know if this solves your requirements. Thanks!

it very much does, thank you 🙇🏽

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants