#MAL - Testing Issuing

1 messages ยท Page 1 of 1 (latest)

white turret
#

Hi ๐Ÿ‘‹

#

I'm a little confused. For issuing you would either authorize or reject a transaction. The refund would come from the merchant on the other end of the transaction, wouldn't it?

coarse pike
#

Yes. We would like to simulate refund transaction from merchant. For example:
We create test card authorisation then approve it and in the end authorisation change status from pending to closed and transaction created. Then we would like to initiate refund transaction for this payment transaction.

white turret
#

But as the card issuer, you wouldn't be the one who initiates the refund. That would be the other party who accepted the charge, no?

coarse pike
#

As the card issuer - no, but as developer for test this case i would like to have this opportunity ๐Ÿ˜

white turret
#

But since that is not a feature the issuer has, we do not have it available in Test mode either. We strive to keep our Test and Live modes as similar as possible to make developing in Test mode an accurate reflection of what you can and cannot do in Live mode.

coarse pike
#

But how I can see correct example of refund transaction, and how i can test webhook with this event in test mode?

#

Initiating authorisations it is not a feature the issuer has too. But it is available in test mode.

#

๐Ÿ™‚

white turret
#

An issuer absolutely has the ability to authorize transactions in live mode. without it no transactions on the issued card would succceed

coarse pike
#

When I wrote test authorisation I meant that

#

I really want to have a button like this one which create test transaction with type "refund".

white turret
#

But that is not realistic.

coarse pike
#

Ok. Maybe you can give me sample json of this case.

#

Otherwise, I need to wait for a similar transaction from the client on the live mode to write correct code for this case?

white turret
coarse pike
#

I think this transaction will send by issuing_transaction.created webhook event.

white turret
#

In that case the type would be refund and the amount would be a positive number

coarse pike
#

Great! It would be even better if it could be simulated from the dashboard.๐Ÿ˜‰

#

When we receive issuing_transaction.created webhook event with transaction type "refund" do we receive treasury.received_credit.created at the same time?

white turret