Open ThisIsMani opened 1 month ago
Hi @ThisIsMani can I work on this issue?
Hey @arkzuse, Thanks for showing interest in contributing to Hyperswitch! This issue is open for contributions, and you can work on it. It's also part of Hacktoberfest 2024, If you work on resolving it during Hacktoberfest, you'll be eligible to claim a goodie as a reward. Let us know if you need any help getting started!
I need help here.
After setting up the project using docker compose. I am trying the APIs, but getting status: failed
in "Payment-Create" on postman. How can i create a test payment connector account, couldn't understand this step from the docs.
@arkzuse, assuming you are using Hyperswitch Postman collection, you will find a folder named Quickstart. In that you will have Merchant Account Create
, API Key Create
, Payment Connector Create
. You will have to run those before you create any payment.
If you want to connect a test payment connector account, you can use stripe_test
. Header Key can be any string. You can find the cards that are supported by stripe_test (we refer to them as dummy connectors) in the docs.
@ThisIsMani thanks for your help! Yes I was using Hyperswitch Postman collection. Do I have to write some test for this implementation? If yes please guide me how it would look like.
Hey @arkzuse, sorry for the delay. You don't have to write any test.
Log the auth_type
in this function, and you should see the changes.
https://github.com/juspay/hyperswitch/blob/809c92bdcb07a89f37dfdceecc7b72e75e8d1343/crates/router/src/services/api.rs#L769
This will be pushed to our analytics and logs.
@ThisIsMani please have a look at workflow, i don't understand why they are failing
You can ignore them, they are not required checks.
Feature Description
We have recently introduced
MerchantJwtWithProfileId
to theAuthenticationData
enum. The new variant includes both aprofile_id
and a non-optionaluser_id
field, improving upon the olderMerchantJwt
variant. The goal of this issue is to replace all instances ofMerchantJwt
withMerchantJwtWithProfileId
.You can find the location of
MerchantJwt
here: https://github.com/juspay/hyperswitch/blob/2bc8756e061e9e0e705ce2c6b533c3583f3efa8b/crates/router/src/services/authentication.rs#L91MerchantJwtWithProfileId
is located just under it.Possible Implementation
MerchantJwt
withMerchantJwtWithProfileId
.merchant_id
,user_id
, andprofile_id
(where necessary) are properly handled in the updated variant.Have you spent some time checking if this feature request has been raised before?
Submission Process:
Refer here for Terms and conditions for the contest.