Skip to content

fix(connector): restrict preprocessing to only apple pay for paysafe#9687

Merged
Gnanasundari24 merged 3 commits intomainfrom
connector/paysafe-skrill-fix
Oct 7, 2025
Merged

fix(connector): restrict preprocessing to only apple pay for paysafe#9687
Gnanasundari24 merged 3 commits intomainfrom
connector/paysafe-skrill-fix

Conversation

@pixincreate
Copy link
Member

@pixincreate pixincreate commented Oct 6, 2025

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

this pr fixes bug in paysafe where skrill wallet payment method was throwing 501. the reason being, we've added a check in preprocessing call that applied to all wallet payment methods for paysafe instead of having it applied to apple pay specifically.

this pr fixes that.

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

skrill, unintentionally went to preprocessing step that resulted in 501 while the payment method is implemented in authorize call.

How did you test it?

Apple Pay

Create

curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Accept-Language: ja' \
--header 'api-key: dev_wcCEnIpNCiH8uz9vhjaLpojPpZLQAo0ScLnQ1VPuSFGWa5x1vbKtBGqwd2wII9HM' \
--data-raw '{
    "amount": 1000,
    "currency": "USD",
    "confirm": false,
    "business_country": "US",
    "business_label": "default",
    "capture_method": "automatic",
    "capture_on": "2022-09-10T10:11:12Z",
    "customer_id": "StripeCustomer",
    "email": "likhin.bopanna@gmail.com",
    "name": "John Doe",
    "phone": "999999999",
    "phone_country_code": "+65",
    "description": "Its my first payment request",
    "authentication_type": "no_three_ds",
    "return_url": "https://duck.com",
    "statement_descriptor_name": "joseph",
    "statement_descriptor_suffix": "JS",
    "metadata": {
        "udf1": "value1",
        "new_customer": "true",
        "login_date": "2019-09-10T10:11:12Z"
    }
}'
{
	"payment_id": "pay_nKWxEfg6kk2sBUFGFMeR",
	"merchant_id": "postman_merchant_GHAction_1759750181",
	"status": "requires_payment_method",
	"amount": 1000,
	"net_amount": 1000,
	"shipping_cost": null,
	"amount_capturable": 0,
	"amount_received": null,
	"connector": null,
	"client_secret": "pay_nKWxEfg6kk2sBUFGFMeR_secret_89GK0HlI7M74crmy87AS",
	"created": "2025-10-06T11:32:52.402Z",
	"currency": "USD",
	"customer_id": "StripeCustomer",
	"customer": {
		"id": "StripeCustomer",
		"name": "John Doe",
		"email": "likhin.bopanna@gmail.com",
		"phone": "999999999",
		"phone_country_code": "+65"
	},
	"description": "Its my first payment request",
	"refunds": null,
	"disputes": null,
	"mandate_id": null,
	"mandate_data": null,
	"setup_future_usage": null,
	"off_session": null,
	"capture_on": null,
	"capture_method": "automatic",
	"payment_method": null,
	"payment_method_data": null,
	"payment_token": null,
	"shipping": null,
	"billing": null,
	"order_details": null,
	"email": "likhin.bopanna@gmail.com",
	"name": "John Doe",
	"phone": "999999999",
	"return_url": "https://duck.com/",
	"authentication_type": "no_three_ds",
	"statement_descriptor_name": "joseph",
	"statement_descriptor_suffix": "JS",
	"next_action": null,
	"cancellation_reason": null,
	"error_code": null,
	"error_message": null,
	"unified_code": null,
	"unified_message": null,
	"payment_experience": null,
	"payment_method_type": null,
	"connector_label": null,
	"business_country": "US",
	"business_label": "default",
	"business_sub_label": null,
	"allowed_payment_method_types": null,
	"ephemeral_key": {
		"customer_id": "StripeCustomer",
		"created_at": 1759750372,
		"expires": 1759753972,
		"secret": "epk_5cf9e0984e984eadb290d4d6f68e1070"
	},
	"manual_retry_allowed": null,
	"connector_transaction_id": null,
	"frm_message": null,
	"metadata": {
		"udf1": "value1",
		"login_date": "2019-09-10T10:11:12Z",
		"new_customer": "true"
	},
	"connector_metadata": null,
	"feature_metadata": null,
	"reference_id": null,
	"payment_link": null,
	"profile_id": "pro_HwXSI9BzQBCoG4QkGRlw",
	"surcharge_details": null,
	"attempt_count": 1,
	"merchant_decision": null,
	"merchant_connector_id": null,
	"incremental_authorization_allowed": null,
	"authorization_count": null,
	"incremental_authorizations": null,
	"external_authentication_details": null,
	"external_3ds_authentication_attempted": false,
	"expires_on": "2025-10-06T11:47:52.402Z",
	"fingerprint": null,
	"browser_info": null,
	"payment_channel": null,
	"payment_method_id": null,
	"network_transaction_id": null,
	"payment_method_status": null,
	"updated": "2025-10-06T11:32:52.431Z",
	"split_payments": null,
	"frm_metadata": null,
	"extended_authorization_applied": null,
	"request_extended_authorization": null,
	"capture_before": null,
	"merchant_order_reference_id": null,
	"order_tax_amount": null,
	"connector_mandate_id": null,
	"card_discovery": null,
	"force_3ds_challenge": false,
	"force_3ds_challenge_trigger": false,
	"issuer_error_code": null,
	"issuer_error_message": null,
	"is_iframe_redirection_enabled": null,
	"whole_connector_response": null,
	"enable_partial_authorization": null,
	"enable_overcapture": null,
	"is_overcapture_enabled": null,
	"network_details": null,
	"is_stored_credential": null,
	"mit_category": null
}

Session

curl --location 'http://localhost:8080/payments/session_tokens' \
--header 'Content-Type: application/json' \
--header 'api-key: pk_dev_7d80afd0f4b841e2a0b0e1a460f6039c' \
--data '{
    "payment_id": "pay_nKWxEfg6kk2sBUFGFMeR",
    "wallets": [],
    "client_secret": "pay_nKWxEfg6kk2sBUFGFMeR_secret_89GK0HlI7M74crmy87AS"
}'
{
	"payment_id": "pay_nKWxEfg6kk2sBUFGFMeR",
	"client_secret": "pay_nKWxEfg6kk2sBUFGFMeR_secret_89GK0HlI7M74crmy87AS",
	"session_token": [
		{
			"wallet_name": "apple_pay",
			"session_token_data": {
				"epoch_timestamp": 1759750383162,
				"expires_at": 1759753983162,
				"merchant_session_identifier": "SS..C3",
				"nonce": "08ed5fa4",
				"merchant_identifier": "8C..C4",
				"domain_name": "hyperswitch.app",
				"display_name": "apple pay",
				"signature": "30..00",
				"operational_analytics_identifier": "apple pay:8C...C4",
				"retries": 0,
				"psp_id": "8C...C4"
			},
			"payment_request_data": {
				"country_code": "US",
				"currency_code": "USD",
				"total": {
					"label": "applepay",
					"type": "final",
					"amount": "10.00"
				},
				"merchant_capabilities": [
					"supports3DS"
				],
				"supported_networks": [
					"visa",
					"masterCard",
					"amex",
					"discover"
				],
				"merchant_identifier": "merchant.lol"
			},
			"connector": "paysafe",
			"delayed_session_token": false,
			"sdk_next_action": {
				"next_action": "confirm"
			},
			"connector_reference_id": null,
			"connector_sdk_public_key": null,
			"connector_merchant_id": null
		}
	]
}

Confirm

curl --location 'http://localhost:8080/payments/pay_nKWxEfg6kk2sBUFGFMeR/confirm' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_7hcskEypRcDWscoO2H26tDR7GKLF3kT0ypXEF1YMCoLPKAm7fglmqZ4zBTaiLlid' \
--data '{
	"confirm": true,
	"payment_method": "wallet",
	"payment_method_type": "apple_pay",
	"payment_method_data": {
		"wallet": {
			"apple_pay": {
				"payment_data": {
					
					"application_primary_account_number": "5204245253050839",
					"application_expiration_month": "01",
					
					"application_expiration_year": "30",
					"payment_data": {
						"online_payment_cryptogram": "A/FwSJkAlul/sRItXYorMAACAAA=",
						"eci_indicator": "1"
					}
				},
			"payment_method": {
					"display_name": "Visa 4228",
					
					"network": "Mastercard",
					"type": "debit"
				},
				"transaction_identifier": "a0...4a"
			}
		},
		"billing": null
	},
	"browser_info": {
		"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
		"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
		"language": "nl-NL",
		"color_depth": 24,
		"screen_height": 723,
		"screen_width": 1536,
		"time_zone": 0,
		"java_enabled": true,
		"java_script_enabled": true,
		"ip_address": "127.0.0.1"
	},
	"billing": {
		"address": {
			"line1": "1467",
			"line2": "Harrison Street",
			"line3": "Harrison Street",
			"city": "San Fransico",
			"state": "California",
			"zip": "94122",
			"country": "US",
			"first_name": "John",
			"last_name": "Doe"
		}
	},
	"shipping": {
		"address": {
			"line1": "1467",
			"line2": "Harrison Street",
			"line3": "Harrison Street",
			"city": "San Fransico",
			"state": "California",
			"zip": "94122",
			"country": "US",
			"first_name": "John",
			"last_name": "Doe"
		}
	}
}'
{
	"payment_id": "pay_nKWxEfg6kk2sBUFGFMeR",
	"merchant_id": "postman_merchant_GHAction_1759750181",
	"status": "succeeded",
	"amount": 1000,
	"net_amount": 1000,
	"shipping_cost": null,
	"amount_capturable": 0,
	"amount_received": 1000,
	"connector": "paysafe",
	"client_secret": "pay_nKWxEfg6kk2sBUFGFMeR_secret_89GK0HlI7M74crmy87AS",
	"created": "2025-10-06T11:34:26.900Z",
	"currency": "USD",
	"customer_id": "StripeCustomer",
	"customer": {
		"id": "StripeCustomer",
		"name": "John Doe",
		"email": "likhin.bopanna@gmail.com",
		"phone": "999999999",
		"phone_country_code": "+65"
	},
	"description": "Its my first payment request",
	"refunds": null,
	"disputes": null,
	"mandate_id": null,
	"mandate_data": null,
	"setup_future_usage": null,
	"off_session": null,
	"capture_on": null,
	"capture_method": "automatic",
	"payment_method": "wallet",
	"payment_method_data": {
		"wallet": {
			"apple_pay": {
				"last4": "4228",
				"card_network": "Mastercard",
				"type": "debit"
			}
		},
		"billing": null
	},
	"payment_token": null,
	"shipping": {
		"address": {
			"city": "San Fransico",
			"country": "US",
			"line1": "1467",
			"line2": "Harrison Street",
			"line3": "Harrison Street",
			"zip": "94122",
			"state": "California",
			"first_name": "John",
			"last_name": "Doe",
			"origin_zip": null
		},
		"phone": null,
		"email": null
	},
	"billing": {
		"address": {
			"city": "San Fransico",
			"country": "US",
			"line1": "1467",
			"line2": "Harrison Street",
			"line3": "Harrison Street",
			"zip": "94122",
			"state": "California",
			"first_name": "John",
			"last_name": "Doe",
			"origin_zip": null
		},
		"phone": null,
		"email": null
	},
	"order_details": null,
	"email": "likhin.bopanna@gmail.com",
	"name": "John Doe",
	"phone": "999999999",
	"return_url": "https://duck.com/",
	"authentication_type": "no_three_ds",
	"statement_descriptor_name": "joseph",
	"statement_descriptor_suffix": "JS",
	"next_action": null,
	"cancellation_reason": null,
	"error_code": null,
	"error_message": null,
	"unified_code": null,
	"unified_message": null,
	"payment_experience": null,
	"payment_method_type": "apple_pay",
	"connector_label": "paysafe_US_default",
	"business_country": "US",
	"business_label": "default",
	"business_sub_label": null,
	"allowed_payment_method_types": null,
	"ephemeral_key": null,
	"manual_retry_allowed": null,
	"connector_transaction_id": "f115ce9c-fd30-49dc-94f1-81e3cb868154",
	"frm_message": null,
	"metadata": {
		"udf1": "value1",
		"login_date": "2019-09-10T10:11:12Z",
		"new_customer": "true"
	},
	"connector_metadata": null,
	"feature_metadata": {
		"redirect_response": null,
		"search_tags": null,
		"apple_pay_recurring_details": null,
		"gateway_system": "direct"
	},
	"reference_id": null,
	"payment_link": null,
	"profile_id": "pro_3ChHsAtYFOz9hH9VMtnw",
	"surcharge_details": null,
	"attempt_count": 1,
	"merchant_decision": null,
	"merchant_connector_id": "mca_4L5eJPYlmGaJigFIaTZl",
	"incremental_authorization_allowed": false,
	"authorization_count": null,
	"incremental_authorizations": null,
	"external_authentication_details": null,
	"external_3ds_authentication_attempted": false,
	"expires_on": "2025-10-06T11:49:26.900Z",
	"fingerprint": null,
	"browser_info": {
		"os_type": null,
		"referer": null,
		"language": "nl-NL",
		"time_zone": 0,
		"ip_address": "127.0.0.1",
		"os_version": null,
		"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
		"color_depth": 24,
		"device_model": null,
		"java_enabled": true,
		"screen_width": 1536,
		"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
		"screen_height": 723,
		"accept_language": "en",
		"java_script_enabled": true
	},
	"payment_channel": null,
	"payment_method_id": null,
	"network_transaction_id": null,
	"payment_method_status": null,
	"updated": "2025-10-06T11:34:32.130Z",
	"split_payments": null,
	"frm_metadata": null,
	"extended_authorization_applied": null,
	"request_extended_authorization": null,
	"capture_before": null,
	"merchant_order_reference_id": null,
	"order_tax_amount": null,
	"connector_mandate_id": null,
	"card_discovery": null,
	"force_3ds_challenge": false,
	"force_3ds_challenge_trigger": false,
	"issuer_error_code": null,
	"issuer_error_message": null,
	"is_iframe_redirection_enabled": null,
	"whole_connector_response": null,
	"enable_partial_authorization": null,
	"enable_overcapture": null,
	"is_overcapture_enabled": null,
	"network_details": null,
	"is_stored_credential": null,
	"mit_category": null
}
Skrill
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Accept-Language: ja' \
--header 'api-key: dev_wcCEnIpNCiH8uz9vhjaLpojPpZLQAo0ScLnQ1VPuSFGWa5x1vbKtBGqwd2wII9HM' \
--data-raw '{
    "amount": 1500,
    "currency": "USD",
    "confirm": true,
    "capture_method": "automatic",
    "customer_id": "aaaa",
    "authentication_type": "three_ds",
    "payment_method": "wallet",
    "payment_method_type": "skrill",
    "payment_method_data": {
        "wallet": {
            "skrill": {}
        }
    },
    "billing": {
        "address": {
            "line1": "Singapore Changi Airport. 2nd flr",
            "line2": "",
            "line3": "",
            "city": "Downtown Core",
            "state": "Central Indiana America",
            "zip": "039393",
            "country": "SG",
            "first_name": "박성준",
            "last_name": "박성준"
        },
        "phone": {
            "number": "8056594427",
            "country_code": "+91"
        },
        "email": "swangi.kumari@juspay.in"
    },
    "browser_info": {
        "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
        "accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
        "language": "nl-NL",
        "color_depth": 24,
        "screen_height": 723,
        "screen_width": 1536,
        "time_zone": 0,
        "java_enabled": true,
        "java_script_enabled": true,
        "ip_address": "127.0.0.1"
    }
}'
{
	"payment_id": "pay_ZR36mAH59ofEyHCuMfNr",
	"merchant_id": "postman_merchant_GHAction_1759750181",
	"status": "requires_customer_action",
	"amount": 1500,
	"net_amount": 1500,
	"shipping_cost": null,
	"amount_capturable": 1500,
	"amount_received": null,
	"connector": "paysafe",
	"client_secret": "pay_ZR36mAH59ofEyHCuMfNr_secret_fHOQqa4f7kuV026Br3Sx",
	"created": "2025-10-06T11:29:48.570Z",
	"currency": "USD",
	"customer_id": "aaaa",
	"customer": {
		"id": "aaaa",
		"name": null,
		"email": null,
		"phone": null,
		"phone_country_code": null
	},
	"description": null,
	"refunds": null,
	"disputes": null,
	"mandate_id": null,
	"mandate_data": null,
	"setup_future_usage": null,
	"off_session": null,
	"capture_on": null,
	"capture_method": "automatic",
	"payment_method": "wallet",
	"payment_method_data": {
		"wallet": {},
		"billing": null
	},
	"payment_token": null,
	"shipping": null,
	"billing": {
		"address": {
			"city": "Downtown Core",
			"country": "SG",
			"line1": "Singapore Changi Airport. 2nd flr",
			"line2": "",
			"line3": "",
			"zip": "039393",
			"state": "Central Indiana America",
			"first_name": "박성준",
			"last_name": "박성준",
			"origin_zip": null
		},
		"phone": {
			"number": "8056594427",
			"country_code": "+91"
		},
		"email": "swangi.kumari@juspay.in"
	},
	"order_details": null,
	"email": null,
	"name": null,
	"phone": null,
	"return_url": null,
	"authentication_type": "three_ds",
	"statement_descriptor_name": null,
	"statement_descriptor_suffix": null,
	"next_action": {
		"type": "redirect_to_url",
		"redirect_to_url": "http://localhost:8080/payments/redirect/pay_ZR36mAH59ofEyHCuMfNr/postman_merchant_GHAction_1759750181/pay_ZR36mAH59ofEyHCuMfNr_1"
	},
	"cancellation_reason": null,
	"error_code": null,
	"error_message": null,
	"unified_code": null,
	"unified_message": null,
	"payment_experience": null,
	"payment_method_type": "skrill",
	"connector_label": null,
	"business_country": null,
	"business_label": "default",
	"business_sub_label": null,
	"allowed_payment_method_types": null,
	"ephemeral_key": {
		"customer_id": "aaaa",
		"created_at": 1759750188,
		"expires": 1759753788,
		"secret": "epk_5802f16446f44f4286501593b0a0efe0"
	},
	"manual_retry_allowed": null,
	"connector_transaction_id": null,
	"frm_message": null,
	"metadata": null,
	"connector_metadata": null,
	"feature_metadata": {
		"redirect_response": null,
		"search_tags": null,
		"apple_pay_recurring_details": null,
		"gateway_system": "direct"
	},
	"reference_id": null,
	"payment_link": null,
	"profile_id": "pro_HwXSI9BzQBCoG4QkGRlw",
	"surcharge_details": null,
	"attempt_count": 1,
	"merchant_decision": null,
	"merchant_connector_id": "mca_akveLwRd2jjVRaaaPyl5",
	"incremental_authorization_allowed": false,
	"authorization_count": null,
	"incremental_authorizations": null,
	"external_authentication_details": null,
	"external_3ds_authentication_attempted": false,
	"expires_on": "2025-10-06T11:44:48.570Z",
	"fingerprint": null,
	"browser_info": {
		"language": "nl-NL",
		"time_zone": 0,
		"ip_address": "127.0.0.1",
		"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
		"color_depth": 24,
		"java_enabled": true,
		"screen_width": 1536,
		"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
		"screen_height": 723,
		"java_script_enabled": true
	},
	"payment_channel": null,
	"payment_method_id": null,
	"network_transaction_id": null,
	"payment_method_status": null,
	"updated": "2025-10-06T11:29:49.759Z",
	"split_payments": null,
	"frm_metadata": null,
	"extended_authorization_applied": null,
	"request_extended_authorization": null,
	"capture_before": null,
	"merchant_order_reference_id": null,
	"order_tax_amount": null,
	"connector_mandate_id": null,
	"card_discovery": null,
	"force_3ds_challenge": false,
	"force_3ds_challenge_trigger": false,
	"issuer_error_code": null,
	"issuer_error_message": null,
	"is_iframe_redirection_enabled": null,
	"whole_connector_response": null,
	"enable_partial_authorization": null,
	"enable_overcapture": null,
	"is_overcapture_enabled": null,
	"network_details": null,
	"is_stored_credential": null,
	"mit_category": null
}
image image

Retrieve

curl --location 'https://base_url/payments/pay_N9z0Jg00H5Dynb7CSKQ0?force_sync=true' \
--header 'Accept: application/json' \
--header 'api-key: dev_zrrGPfKKd8sxgS7BmJrkv4vpl2murNtShyPc8o9YlGzuaonmYJwMMyQOdbCfCXcu'
{
	"payment_id": "pay_N9z0Jg00H5Dynb7CSKQ0",
	"merchant_id": "postman_merchant_GHAction_1759750928",
	"status": "succeeded",
	"amount": 1500,
	"net_amount": 1500,
	"shipping_cost": null,
	"amount_capturable": 0,
	"amount_received": 1500,
	"connector": "paysafe",
	"client_secret": "pay_N9z0Jg00H5Dynb7CSKQ0_secret_uzp2n3oQPqD0tIjdNPVU",
	"created": "2025-10-06T12:22:47.738Z",
	"currency": "USD",
	"customer_id": "aaaa",
	"customer": {
		"id": "aaaa",
		"name": null,
		"email": null,
		"phone": null,
		"phone_country_code": null
	},
	"description": null,
	"refunds": null,
	"disputes": null,
	"mandate_id": null,
	"mandate_data": null,
	"setup_future_usage": null,
	"off_session": null,
	"capture_on": null,
	"capture_method": "automatic",
	"payment_method": "wallet",
	"payment_method_data": {
		"wallet": {},
		"billing": null
	},
	"payment_token": null,
	"shipping": null,
	"billing": {
		"address": {
			"city": "Downtown Core",
			"country": "SG",
			"line1": "Singapore Changi Airport. 2nd flr",
			"line2": "",
			"line3": "",
			"zip": "039393",
			"state": "Central Indiana America",
			"first_name": "박성준",
			"last_name": "박성준",
			"origin_zip": null
		},
		"phone": {
			"number": "8056594427",
			"country_code": "+91"
		},
		"email": "swangi.kumari@juspay.in"
	},
	"order_details": null,
	"email": null,
	"name": null,
	"phone": null,
	"return_url": null,
	"authentication_type": "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": "skrill",
	"connector_label": null,
	"business_country": null,
	"business_label": "default",
	"business_sub_label": null,
	"allowed_payment_method_types": null,
	"ephemeral_key": null,
	"manual_retry_allowed": null,
	"connector_transaction_id": "9abc1eaf-af0f-49b9-834c-afb2b12291f4",
	"frm_message": null,
	"metadata": null,
	"connector_metadata": null,
	"feature_metadata": {
		"redirect_response": null,
		"search_tags": null,
		"apple_pay_recurring_details": null,
		"gateway_system": "direct"
	},
	"reference_id": null,
	"payment_link": null,
	"profile_id": "pro_gb3FQWk8hJtjW6FP5c6K",
	"surcharge_details": null,
	"attempt_count": 1,
	"merchant_decision": null,
	"merchant_connector_id": "mca_AkDHUgxUaV8R6UP65h8v",
	"incremental_authorization_allowed": false,
	"authorization_count": null,
	"incremental_authorizations": null,
	"external_authentication_details": null,
	"external_3ds_authentication_attempted": false,
	"expires_on": "2025-10-06T12:37:47.738Z",
	"fingerprint": null,
	"browser_info": {
		"language": "nl-NL",
		"time_zone": 0,
		"ip_address": "127.0.0.1",
		"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
		"color_depth": 24,
		"java_enabled": true,
		"screen_width": 1536,
		"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
		"screen_height": 723,
		"java_script_enabled": true
	},
	"payment_channel": null,
	"payment_method_id": null,
	"network_transaction_id": null,
	"payment_method_status": null,
	"updated": "2025-10-06T12:23:02.068Z",
	"split_payments": null,
	"frm_metadata": null,
	"extended_authorization_applied": null,
	"request_extended_authorization": null,
	"capture_before": null,
	"merchant_order_reference_id": null,
	"order_tax_amount": null,
	"connector_mandate_id": null,
	"card_discovery": null,
	"force_3ds_challenge": false,
	"force_3ds_challenge_trigger": false,
	"issuer_error_code": null,
	"issuer_error_message": null,
	"is_iframe_redirection_enabled": null,
	"whole_connector_response": null,
	"enable_partial_authorization": null,
	"enable_overcapture": null,
	"is_overcapture_enabled": null,
	"network_details": null,
	"is_stored_credential": null,
	"mit_category": null
}

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by just clippy && just clippy_v2
  • I reviewed the submitted code
  • I added unit tests for my changes where possible

@pixincreate pixincreate added this to the July 2025 Release milestone Oct 6, 2025
@pixincreate pixincreate self-assigned this Oct 6, 2025
@pixincreate pixincreate requested a review from a team as a code owner October 6, 2025 11:39
@pixincreate pixincreate added A-connector-integration Area: Connector integration C-bug Category: Bug S-waiting-on-review Status: This PR has been implemented and needs to be reviewed labels Oct 6, 2025
@semanticdiff-com
Copy link

semanticdiff-com bot commented Oct 6, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  crates/router/src/core/payments.rs  60% smaller

swangi-kumari
swangi-kumari previously approved these changes Oct 6, 2025
@pixincreate pixincreate force-pushed the connector/paysafe-skrill-fix branch from 286a064 to e44d163 Compare October 6, 2025 12:34
@Gnanasundari24 Gnanasundari24 added this pull request to the merge queue Oct 7, 2025
Merged via the queue into main with commit 7f6bed3 Oct 7, 2025
21 of 25 checks passed
@Gnanasundari24 Gnanasundari24 deleted the connector/paysafe-skrill-fix branch October 7, 2025 11:04
@pixincreate pixincreate removed the S-waiting-on-review Status: This PR has been implemented and needs to be reviewed label Oct 7, 2025
UdayPandey01 pushed a commit to UdayPandey01/hyperswitch that referenced this pull request Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-connector-integration Area: Connector integration C-bug Category: Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FIX] (connector) Skrill payment method in Paysafe throws 501

4 participants