cancel
Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this topic

webhooks with multiple auth.net accounts-

 

I have a website that I need to send payments to 2 different merchant accounts, this is based on what account the current user belongs to, example user1 sales go to store #1 Auth.net account, and user 2 sales go to store#2 auth.net account.  The order is sent with getHostedPaymentPageRequest(); at this time I know what auth.net account I am sending the payment to.  The issues comes when I register a webook

I have an endpoint listening on ....PaymentNotification\PaymentEvent and I recieve the callback however to know more about that order I need to call getTransactionDetailsRequest(), however

I dont know what store credentials I need to pass to get more details about the transaction.  I attempted to add a peramter on the webhook url(PaymentNotification\PaymentEvent?id=1) but it is invalid.  I could make a webhook callback for each store but I dont want to do this for (N) stores. How can I know who the transaction belongs to before I make the getTransactionDetailsRequest()?

 

 

 

 

 

 

Who Me Too'd this topic