getting transaction id before checkout in woo commerce - woocommerce

I have a mobile gateway integration, according to the docs the TransactionID has to incremented with each request and is an Integer.
• Calculate hash for token . Can use both MD5 and SHA_256 it is recommended
to use SHA_256 for security as it does not easily generate collisions.
• Token version 1
MD5(transactionID+amount+itemdetails+”merchantsecret”))
• Token version 2
SHA_256(transactionID+amount+itemdetails+
”merchantsecret”+responseCode))
• Client key string is a secret key given by Vodafone.
• Receive response with URL for payments gateway, requestID, token,
responseCode, tokenv2.
i am using woo commerce how will this be possible

Related

WooCommerce API key - How to store safely

What harm can someone do when they have the woocommerce-api key that is normally stored in Wordpress itself? At the moment some endpoints in my front-end contains the WooCommerce API key.

AWS SNS:How many maximum Registration ID'S/Token ID's can subscribe in AWS SNS?

How many maximum Registration ID'S/Token ID's can subscribe in AWS SNS?
How I Track Registration ID's/Token ID's STATUS?
Once you have set up a Registration ID or Token ID, it's more generally called a Platform Endpoint.
The maximum number of subscriptions for a single SNS topic is 12 500 000 (source), and each Platform Endpoint counts as one subscriber. You can request an increase to this limit if you need to.
I'm not sure what you mean by tracking their status—there are many attributes that you might consider as 'status'.
You can list all of the subscriptions for a topic using ListSubscriptionsByTopic. This is also the only way to find out if a specific endpoint is subscribed to a specific topic, unless you have the subscription arn.
You can find out if a Platform Endpoint is enabled using GetEndpointAttributes.
You can check on the status of a subscription using GetSubscriptionAttributes.

Error 87 in Authorize.Net payment gateway

I am trying to integrate Authorize.Net in WooCommerce, using the following plugin for it: https://wordpress.org/plugins/yith-woocommerce-authorizenet-payment-gateway/
I set all user IdTransaction Key md5 Hash, but it gives me error 87, I don't understand where I need to put x_market_type as per the support document said.
This is the error I am getting:
From the Authorize.Net documentation about error code 87:
Response Reason Code: 87
Response Reason Text: Transactions of this market type cannot be
processed on this system.
Notes: The server is not configured to process the product type
derived from the market type of this transaction.
This can happen for four reasons:
You are attempting to process a type of transaction that your account
is not designed to process. For example, you attempt to use a card
swipe machine with an account that is enabled for Card Not Present
transactions.
Your software integration is passing an incorrect value
for the field x_market_type. If you are using a Retail account,
x_market_type should be set to a value of "2". The integration guide
for Card Present transactions can be found at
http://www.authorize.net/support/CP_guide.pdf.
Your Merchant Service
Provider may be incorrectly set up for this account.
The product type
(SIC code) is incorrect for this account.
It is recommended to check
the posting URL that is being used for your integration. Please
consult the guide for the integration method you are using to verify
the correct posting URL.
To help troubleshoot this issue, you can confirm the Product Type for
your account using the following steps:
Log in to your account at https://account.authorize.net.
Click Account from the main toolbar.
Click Merchant Profile.
Refer to the Product Type listed under Business Information.

Send custom transaction id to paypal express checkout NVP

I am using Paypal Express Checkout NVP API version 115
I Already having my own shopping cart
Shopping cart is already integrated to other 3rd party clearing house ( for credit card)
I am using my own transaction id.
So, I am making 3 API Calls
Set-EC (EC refer to Express checkout)
Get-EC
Do-EC
In SET-EC, I want to send my own transaction id which can be retrieved by the DO-EC,
They have listed PAYMENTREQUEST_n_TRANSACTIONID in Set-EC.
So, I am sending my own transaction id in PAYMENTREQUEST_n_TRANSACTIONID in SET-EC
But, I am not able to receive it in DO-EC PAYMENTINFO_n_TRANSACTIONID.
Its showing me the 17 charac transaction id of Paypal.
Can anyone help me out to send my own custom transaction id and receive it upon payment completed.

Payflow Pro API for retrieving reference transactions

We have integrated Payflow pro payment gateway into our website and processing payment requests using Payflow as payment gateway and storing payflow transaction id as a part of response into our database.
We need to retrieve transaction history for specific transaction Id as shown in PayPal manager.
So please suggest me appropriate API for retrieving Reference transactions on basis of specific transaction Id as soon as possible.
Looking forward for your feedback.
You could get information back about transactions a couple of different ways. You could either use the inquiry by setting TRXTYPE=I or by using the Reporting API's.

Resources