juspay / hyperswitch

An open source payments switch written in Rust to make payments fast, reliable and affordable
https://hyperswitch.io/
Apache License 2.0
12.32k stars 1.33k forks source link

[REFACTOR] Worldpay payments integration #6316

Open kashif-m opened 1 week ago

kashif-m commented 1 week ago

Feature Description

WorldPay payments integration currently makes use of modular APIs which gives more control over the integration. This approach is not best compatible with HyperSwitch due to WP's 3DS flows - which requires sending PAN (card numbers) in multiple places. For on_session transactions, this would contribute to the added complexity since data is not stored in such transactions (or stored for ~15mins in redis cache).

Migrating to WP's standard payments API follows payment resource creation in an uniform way.

Possible Implementation

Migrate from modular APIs [ref] to standard payment APIs [ref].

Have you spent some time checking if this feature request has been raised before?

Have you read the Contributing Guidelines?

Are you willing to submit a PR?

Yes, I am willing to submit a PR!

kashif-m commented 4 days ago

2

Propagate the refusal codes as error codes in HyperSwitch.

kashif-m commented 3 days ago

3

kashif-m commented 2 days ago

4