Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
DIBS has launched new product - Easy - https://tech.dibspayment.com/easy
This issue is meant for coordinating efforts towards implementing new payment gateway.
Comment | File | Size | Author |
---|---|---|---|
#6 | 3055039-6.patch | 18.43 KB | zaporylie |
#2 | 3055039-2.patch | 13.01 KB | zaporylie |
Comments
Comment #2
zaporylieHere's initial patch. It provides:
- payment gateway plugin
- offsite iframe form (couldn't make it to work due to 404/CORS issues)
- services for data building and api helper
Due to mentioned 404/CORS issue I had to take a break and contact DIBS support. I'll follow up once bug is fixed.
Comment #3
Vikom CreditAttribution: Vikom commentedDid you get the iframe to load? I'm also working on Dibs Easy integration and stuck on the CORS issue. Thanks!
Comment #4
zaporylieYes I did. According to DIBS support CORS issue is expected (they are testing something) and must not prevent iframe from loading. The issue was containerID passed to
Dibs.Checkout
- or in my case lack of it. If about what's default value for container ID selector is quite hidden in docs so better to set it up explicitly.I'll come up with upgraded patch next week as I am away from my computer until next Monday.
Comment #5
Vikom CreditAttribution: Vikom commentedWow, thank a lot for that. Now I have the iframe working :) Yeah, the docs also say containerID is optional...
Comment #6
zaporylieHere's a working patch with an initial support for DIBS Easy. I'll create a bunch of follow ups soon as the works is not done yet. Nevertheless you should be able, by using this patch, collect and maintain payments (excluding refunds).
Comment #7
zaporylieChanging to needs review to get some feedback.
Comment #9
zaporylieThis is now merged in.
Comment #10
zaporylie