question

dang-hien avatar image
dang-hien asked mathildarosales answered

error message "STARTING_PAYMENT_FLOW"

we got error "-Invalid State Transition: Requested: STARTING_PAYMENT_FLOW Current: STARTING_PAYMENT_FLOW" when using clover sdk for C#

what does it means and how to fix it?

Clover Mini
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
mathildarosales avatar image
mathildarosales answered

Hello,

Typically, the "STARTING_PAYMENT_FLOW" state is the initial state where the payment flow is about to begin. The error message suggests that the requested state transition is the same as the current state, which is not allowed. This implies that there might be an incorrect or redundant attempt to start the payment flow when it is already in progress.


To fix this issue, you should review your code and ensure that you are iniiating the payment flow only when it is not already in progress. Make sure that you are not inadvertently triggering the payment flow multiple times or attempting to start it before completing or canceling the previous flow.

Additionally, it's advisable to consult the documentation or resources provided by the Clover SDK for C# to understand the correct usage and state transitions in the payment flow. You may also consider reaching out to the Clover SDK's support or community forums for more specific guidance on resolving this error in your particular implementation.

I hope the information helps you. marykayintouch




10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community