Payment test fails · Payments serviceMMiraTTimur · in this chat

Payments service

Payment test fails

Needs you

Conversation

Needs you
Mira

The payment test has been failing for three days: we expect 1,200 ₽, 1,250 ₽ comes in. Zidos, find the cause and fix it.

Read · 10:09

Timur

Looks like the fee. Check whether it is charged twice on a repeat payment.

Zidos

Found it: on a repeat payment the fee was added a second time. Fixed one line, tests pass.

@Zidos

About the chat

People

M
MiraStudio owner
T
TimurDeveloper

Agents

//
ZidosStudio agent

Models

No model details

Studios

Sections

Payments service

Mira's studio

VideoSiteVersionsSeveral agentsDiscussionReview and approvalRuns

Invite to the chat

Share this chat's link

M
MiraStudio owner
T
TimurDeveloper
C
VeraMarketing

Result

Found it: on a repeat payment the fee was added a second time. Fixed one line, tests pass.

Edit

The fee is no longer added twice

payment/charge.go

+1−1

Proof

Studio section

By voice

Listening…