Support Services

What are some troubleshooting tips for signed SWP requests?

When troubleshooting signed SWP request messages, forward the following elements (with sensitive values like account numbers and passwords masked) to your Integration Specialist along with a description of the issue for review:

 ElementExample
Exact URL where you're sending the SWP request message
SWP-Redirect URL: https://sandbox.paymentsgateway.net/SWP/Redirect/default.aspx
Exact SWP request message you're sending to the URL referenced above
SWP-Redirect Request message (example with sensitive data replaced):
"pg_api_login_id=r2A8X5V2fj&pg_return_url=https://
swp.paymentsgateway.net/Redirect/results.aspx&pg_
utc_time=634444438190000000&pg_transaction_order_
number=237938&pg_continue_url=&pg_schedule_quantity
=&pg_schedule_frequency=&pg_schedule_start_date=&
pg_payment_method_id=&pg_payment_command=insert&
pg_client_id=&pg_client_command=insert&pg_ts_hash=71
3234d8812be62ccf0747a8a55656f6&pg_transaction_type=10
&pg_version_number=2.0&pg_valid_transaction_type=10,
20&pg_valid_amount=1.00-5.00&pg_payment_card_type=VISA
&pg_payment_card_name=ACHD TEST&pg_payment_card_number
=4111111111111111&pg_billto_postal_name_first=ACHD&pg_
billto_postal_name_last=TEST&pg_consumer_id=33333333333
&pg_consumerorderid=123456789012345&pg_walletid=abc123&
pg_merchant_data_1=1000&pg_merchant_data_2=9.95&pg_
schedule_transaction=0&pg_payment_card_expdate_month=09
&pg_payment_card_expdate_year=2020&pg_total_amount=2.75
&pg_procurement_card=&pg_original_autorization_code=&pg
_original_trace_number="
Exact message string you're encrypting using an HMACMD5-compatible algorithm
SWP-Redirect message string to encrypt using HMACMD5(..) : "r2A8X5V2fj|10,20|2.0|1.00-5.00|634444442150000000|237938||insert||insert"
Merchant ID    Merchant ID (example): 123456
External IP address of server submitting the SWP request message    External IP address of server submitting the SWP-Redirect request message (example): 10.100.11.101
Exact SWP response message when your experienced the difficulties
SWP-Redirect Response message (example):
pg_ts_hash_response=3f674aadc230ecdf9797b63fa2365771
pg_last4=1111
pg_response_type=A
pg_response_code=A01pg_response_description=TEST APPROVAL
pg_trace_number=57a5403f-972d-463d-a7f4-5355ef44d9ee
pg_authorization_code=123456pg_payment_method_id=25983
pg_client_id=27397
pg_payment_card_exp=202009
pg_utc_time=634444440212894244
pg_return_url=https://swp.paymentsgateway.net/Redirect/results.aspx
pg_transaction_order_number=237938
pg_continue_url=
pg_schedule_quantity=
pg_schedule_frequency=
pg_schedule_start_date=
pg_payment_command=insert
pg_client_command=insert
pg_transaction_type=10
pg_version_number=2.0
pg_valid_transaction_type=10,20
pg_valid_amount=1.00-5.00
pg_payment_card_type=VISA
pg_payment_card_name=ACHD TEST
pg_billto_postal_name_first=ACHDpg_billto_postal_name_last=TEST
pg_consumer_id=33333333333
pg_consumerorderid=123456789012345
pg_walletid=abc123
pg_merchant_data_1=1000
pg_merchant_data_2=9.95
pg_schedule_transaction=0
pg_payment_card_expdate_month=09
pg_payment_card_expdate_year=2020
pg_total_amount=2.75
pg_procurement_card=
pg_original_autorization_code=
pg_original_trace_number=

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.