fix(router): fix Click to Pay cavv None error#8019
Merged
likhinbopanna merged 5 commits intomainfrom May 20, 2025
Merged
Conversation
Changed Files |
5 tasks
sai-harsha-vardhan
previously approved these changes
May 15, 2025
deepanshu-iiitu
previously approved these changes
May 15, 2025
su-shivanshmathur
previously approved these changes
May 15, 2025
b88d175
deepanshu-iiitu
previously approved these changes
May 16, 2025
sai-harsha-vardhan
previously approved these changes
May 16, 2025
su-shivanshmathur
previously approved these changes
May 18, 2025
…ed-to-none-in-authentication-flow
3786f9b
deepanshu-iiitu
approved these changes
May 20, 2025
Contributor
deepanshu-iiitu
left a comment
There was a problem hiding this comment.
Connector changes look good
ShankarSinghC
approved these changes
May 20, 2025
sai-harsha-vardhan
approved these changes
May 20, 2025
pixincreate
added a commit
that referenced
this pull request
May 20, 2025
…ordea-template * 'main' of github.com:juspay/hyperswitch: feat(reveue_recovery): Add support for multiple retry algorithms in revenue recovery workflow (#7915) feat(connector): add barclaycard template code (#8017) fix(router): fix Click to Pay cavv None error (#8019) fix(connector): Supported capture methods fix for feature matrix (#8057)
iemyashasvi
pushed a commit
that referenced
this pull request
May 22, 2025
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
Currently Click to pay is breaking due to CAVV being populated as null in the flow this PR fixes it.
How did you test it?
Add config to make the merchant eligible for authentication service
Create merchant connector account for Ctp_mastercard
Adyen
update business profile with ctp_mastercard mca_id
do payments create
do payments confirm
Expected Response
{ "payment_id": "pay_uExtVlV6ueNkLeUPiXZg", "merchant_id": "sahkal", "status": "succeeded", "amount": 100, "net_amount": 100, "shipping_cost": null, "amount_capturable": 0, "amount_received": 100, "connector": "cybersource", "client_secret": "pay_uExtVlV6ueNkLeUPiXZg_secret_mU8Au3Lupz6KXgHzW5z4", "created": "2025-05-13T15:50:46.759Z", "currency": "USD", "customer_id": null, "customer": { "id": null, "name": "John Doe", "email": "sahkalplanet@gmail.com", "phone": "999999999", "phone_country_code": "+65" }, "description": null, "refunds": null, "disputes": null, "mandate_id": null, "mandate_data": null, "setup_future_usage": null, "off_session": null, "capture_on": null, "capture_method": null, "payment_method": "card", "payment_method_data": null, "payment_token": null, "shipping": null, "billing": { "address": { "city": "San Fransico", "country": "US", "line1": "1467", "line2": "Harrison Street", "line3": "Harrison Street", "zip": "94122", "state": "California", "first_name": "sahkal", "last_name": "poddar" }, "phone": null, "email": null }, "order_details": null, "email": null, "name": null, "phone": null, "return_url": null, "authentication_type": "no_three_ds", "statement_descriptor_name": null, "statement_descriptor_suffix": null, "next_action": null, "cancellation_reason": null, "error_code": null, "error_message": null, "unified_code": null, "unified_message": null, "payment_experience": null, "payment_method_type": "debit", "connector_label": null, "business_country": null, "business_label": "default", "business_sub_label": null, "allowed_payment_method_types": null, "ephemeral_key": null, "manual_retry_allowed": false, "connector_transaction_id": "7471514619636683503812", "frm_message": null, "metadata": null, "connector_metadata": null, "feature_metadata": null, "reference_id": "pay_uExtVlV6ueNkLeUPiXZg_1", "payment_link": null, "profile_id": "pro_Img0GLzvnKEFzGRdsqdF", "surcharge_details": null, "attempt_count": 1, "merchant_decision": null, "merchant_connector_id": "mca_3TGQxhtgz4WtNjlj17fn", "incremental_authorization_allowed": false, "authorization_count": null, "incremental_authorizations": null, "external_authentication_details": { "authentication_flow": null, "electronic_commerce_indicator": "06", "status": "success", "ds_transaction_id": null, "version": null, "error_code": null, "error_message": null }, "external_3ds_authentication_attempted": false, "expires_on": "2025-05-13T16:05:46.759Z", "fingerprint": null, "browser_info": { "os_type": null, "language": "en-GB", "time_zone": -330, "ip_address": "::1", "os_version": null, "user_agent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Mobile Safari/537.36", "color_depth": 24, "device_model": null, "java_enabled": true, "screen_width": 2560, "accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8", "screen_height": 1440, "accept_language": "en", "java_script_enabled": true }, "payment_method_id": null, "payment_method_status": null, "updated": "2025-05-13T15:51:03.564Z", "split_payments": null, "frm_metadata": null, "extended_authorization_applied": null, "capture_before": null, "merchant_order_reference_id": null, "order_tax_amount": null, "connector_mandate_id": null, "card_discovery": "click_to_pay", "force_3ds_challenge": false, "force_3ds_challenge_trigger": false, "issuer_error_code": null, "issuer_error_message": null }Checklist
cargo +nightly fmt --allcargo clippy