By Artem Lebsak on Monday, 24 January 2022
Posted in Payment Gateways
Replies 5
Likes 0
Views 1.1K
Votes 0
Hi,

I know that for a transaction in the field gateway_txn_id I should store the transaction or payment id provided by payment gateway.

Can you please explain for what data these fields are used?
gateway_subscr_id
gateway_parent_txn


Best regards,
Artem
Hey Artem,

Sorry for the delayed response.

By subscription_id you mean some user id or some ID that can be used to init further recurring payments?
For example in stripe I see that you passing $customerId as subscription_id.

Subscription_id is not the user id. This subscription id will be used to initiate further recurring payment in some payment methods and in some payment methods, it's subscription id parent subscription id. It depends on the payment method.

let me if you have any queries.
·
Friday, 28 January 2022 11:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Artem,

Can you please explain for what data these fields are used?
gateway_subscr_id
gateway_parent_txn


gateway_subscr_id : This id means if payment gateway send subscription_id in payment notification data for recurring payment. This is optional as depends on the payment method you are using.

gateway_parent_txn : This id means if you receive any parent transaction id in payment notification then save in this param. This is also optional as depends on the payment method you are using.

Let me know if you have any queries.
·
Tuesday, 25 January 2022 11:50
·
0 Likes
·
0 Votes
·
0 Comments
·
By subscription_id you mean some user id or some ID that can be used to init further recurring payments?
For example in stripe I see that you passing $customerId as subscription_id.

Best regards,
Artem
·
Wednesday, 26 January 2022 20:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok thank you
·
Monday, 31 January 2022 05:09
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Artem.
·
Monday, 31 January 2022 10:12
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post