Is a it possible to get the same txn_id(transaction id) for paypal IPN if the payment_status changes?
up vote
0
down vote
favorite
I am implementing a paypal IPN listener with PHP in which I save the IPN data(txn_id, payment_status, item_name, etc...) to my database table.
My question is how can I manage a transaction status change? Say a customer has paid for something via e-check for example, the payment_status is pending, then do Paypal returns the same txn_id when the payment_status is set to completed? Note that I'm passing custom data to send the user_id on the payment, I want to keep that.
Thank you
paypal paypal-ipn
add a comment |
up vote
0
down vote
favorite
I am implementing a paypal IPN listener with PHP in which I save the IPN data(txn_id, payment_status, item_name, etc...) to my database table.
My question is how can I manage a transaction status change? Say a customer has paid for something via e-check for example, the payment_status is pending, then do Paypal returns the same txn_id when the payment_status is set to completed? Note that I'm passing custom data to send the user_id on the payment, I want to keep that.
Thank you
paypal paypal-ipn
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am implementing a paypal IPN listener with PHP in which I save the IPN data(txn_id, payment_status, item_name, etc...) to my database table.
My question is how can I manage a transaction status change? Say a customer has paid for something via e-check for example, the payment_status is pending, then do Paypal returns the same txn_id when the payment_status is set to completed? Note that I'm passing custom data to send the user_id on the payment, I want to keep that.
Thank you
paypal paypal-ipn
I am implementing a paypal IPN listener with PHP in which I save the IPN data(txn_id, payment_status, item_name, etc...) to my database table.
My question is how can I manage a transaction status change? Say a customer has paid for something via e-check for example, the payment_status is pending, then do Paypal returns the same txn_id when the payment_status is set to completed? Note that I'm passing custom data to send the user_id on the payment, I want to keep that.
Thank you
paypal paypal-ipn
paypal paypal-ipn
asked Nov 7 at 12:19
Pety Ialimijoro Rakotoniaina
563
563
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53189343%2fis-a-it-possible-to-get-the-same-txn-idtransaction-id-for-paypal-ipn-if-the-pa%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown