Wix Store integration with Authorize.net using Foxy.io

Hello all, total nub so please excuse my ignorance.

I am building a firearms retail website for a client using Wix. The client wants to be able to accept payments by card. Wix only processes card payments with Braintree, Stripe, and Square, but the client must use Authorize.net since they process “high risk” items and the other 3 do not. I would like to use the built in store app for its inventory tracking and cart features if possible.

The native wix store app allows a “manual payment” option and I would like to put a link on the “Thank You” landing page after the Wix manual payment “checkout” that sends customers to a Foxy.io cart to process their card payment (since Foxy.io supports Authorize.net ).

I know you can send a customer to Foxy.io with a url or a form, what I am having trouble with is finding a way to pull the order total $ from the wix store after taxes and shipping costs and get that dollar amount sent to Foxy.io dynamically for whatever items the customer orders. Individual line items in Foxy.io are not imperative but would be nice.

I know that the wix store creates an orders database under the stores collection that contains the dollar amount for the order. I don’t properly know how to reference that value with code to dynamically generate a URL to send the customer to Foxy.io .

Any help or alternate options you fellas can provide would be appreciated.

If you are wanting to integrate Foxy.io with Wix, then you are much better suited going through their own support and asking them how to integrate with Wix, or simply looking at their own website.
https://kb.foxy.io/article/23-wix-add-a-simple-purchase-option