I am developing woocommerce project . I used Authorize.net payment gateway plugin for that.
payment and order placings are working fine.But after get payment that url not redirect to success page .
I want show order info after payment completed. May be my x_relay_url is wrong.
I don't know how to give that .please tell me One example url for that and solve this problem to me...
after payment completed it's showing like this message..
An error occurred while trying to report this
transaction to the merchant. An e-mail has been sent to the merchant informing them
of the error. The following is the result of the attempt to charge your credit card.
This transaction has been approved.
It is advisable for you to contact the merchant to verify that you will receive the
product or service.
NOTE: IT IS IN TEST MODE.
thanks & regards..
This error typically occurs when the payment gateway is unable to POST to the relay response URL you configured. Since the POST is coming from Authorize.Net, the URL must be publicly available.
Also, if you are testing in the sandbox, you should not send transactions in Test Mode. Transactions submitted with test mode only confirm if the API Login and Transaction Key are correct, and returns OK but does not actually process and store a transaction.
Related
I am working on stripe payment getaway one question is arising in my mind.this question in few steps i have defined below.
customer generate a payment request on my server
after input successful details customer request submitted on stripe.
stripe payment getaway done their process and they send me response either success or failure.
now what happen when stripe send me success or failure that time my server stopped working. then obviously i am not able to save stripe response in my tables. even i don't have record what my customer paid to my website.
so how would we know the stripe response even after my server stopped working on stripe callback.
i am using PHP for this.
I note that you originally tagged this question with PayPal. You should understand that Stripe works differently how a conventional PayPal checkout flow would work.
With PayPal the shopper arrives at the end of your checkout flow, they click a link to get transferred to PayPal, they login/register, confirm their card details and then PayPal sends a callback to your server. This is where your point about your server being down is relevant.
With Stripe Checkout the flow is different. You add the Stripe javascript code to the final page of your checkout, this triggers a panel (like a modal window) where the shopper enters their card details. Upon submission Stripe generates a token for the card and then adds this as a hidden fields to the form on your site.
You set the form action to point to some code on your server. Upon submission your PHP script then takes the token and processes a payment.
At no point is there a callback between Stripe and your site. Instead you take the payment in a single call from your server. Once you get a response from this API call then you can log the order in your database, send confirmation emails, etc.
Hope this helps.
I am using Angelleye library for implementing the paypal chain payment.
I have paypal paynow button on my site on click of it would get redirected to sandbox.When login with the payer credentials[sandbox] and proceed to pay its giving error as
Your payment can't be completed. Please return to the participating website and try again.
When I do the parallel payment with the same payer credentials its working fine.
I tried the steps mentioned in below artice, and these settings were already present.
https://support.zoho.com/portal/ticketpro/ShowEntityInfo.do?module=Solutions&id=e45884bf9b98e5a47533e4c420d15e8b0b498ee34174141d&showpage=DetailsView&loadType=rightleft&isload=true&prevModule=Home
So my question why is this error coming only for chained payment.How to solve this problem?
Your request has this in it:
<deviceId xmlns="">DEVICE_ID_GOES_HERE</deviceId>
That is the default value that is supposed to be replaced with some value of your own.
Also, get rid of any other array sets in the request that aren't being used. Looks like you're including some sender parameters that don't need to be there...
<sender>
<useCredentials xmlns=""></useCredentials>
</sender>
I am getting below error when making an invoice on a product
PayPal gateway has rejected request. Authorization has already been
completed (#10602: Authorization completed).
I've read what's the error about (here) but I don't know how to fix it.
The product's status is still "processing" and I want that to be changed to "complete".
Short back-story: we migrated the magento site on a testing server first with a different domain name.
From that error, it sounds like you are trying to authorize a payment that's already been authorized. Are you trying to do authorizations? Try changing the transaction processing mode to sale.
We have deployed successfully Paypal on our website. However, every now and then, we get an error when a customer tries to pay.
Here is the error:
{"name":"PAYER_CANNOT_PAY","message":"The combination of payer and payee settings mean that this buyer can't pay this seller.","information_link":"https://developer.paypal.com/webapps/developer/docs/api/#PAYER_CANNOT_PAY","debug_id":"fb74a83818f40"}
Unfortunately Paypal's documentation doesn't say much. I also find this error very strange given it happens at the CAPTURE, after EXECUTE and after Paypal reports back to us with a success.
The payments show up in our Paypal account as Pending.
How do I resolve this? Does anyone know what causes this? So far I am unable to see what can cause this or reproduce it in my tests.
Here are the steps taken:
1 - We create a payment object using the REST API and redirect the user to the Approval link
2 - The customer goes to paypal and enters the desired payment information
3 - Our success return URL gets called after the customer completes everythin on the paypal side
4 - We execute the payment
5 - We capture the payment <-- ERROR happens HERE
Thank you!
It's buyer's funding source issue, payment is declined by buyer's card bank. it's not your integration issue. Buyer need to call bank to fix his/her card, then you try to capture the money again.
My sent data to paypal is
"https://www.paypal.com/cgi-bin/webscr/cmd=_cart&upload=1&business=seller.email#something.com¤cy_code=USD&bn=BusinessName&return=http://www.sellersite.com&item_number_1=55&item_name_1=battery&amount_1=55&quantity_1=2&item_number_2=52&item_name_2=bat&amount_2=5&quantity_2=3"
And I want to show those sent data(item number, item name,amount,quantity) and the paypal transaction id to the buyer on "http://www.sellersite.com" after successful payment. (Suppose, the seller has the merchant account with paypal and he would enter that paypal id into database from admin section of the website. So,I would not think about his paypal account settings, my job is just to create the environment for paypal payment for the seller.)
If I write a script like
$T_ID=$_REQUEST['tx']; // or $T_ID=$_GET['tx']; **ref(tx):- "https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/howto_html_paymentdatatransfer"
$item=$_REQUEST['item_number_1']; // or $item=$_GET['item_number_1'];
Then would I get those data from paypal ?
Please tell me.
-Thanks.
It's not going to be quite that simple. You'll need to setup Payment Data Transfer (PDT) in order to get details sent back to your return URL after the buyer completes the payment.
This is useful if you're simply going to display details back to the user, but it's not recommended for updating your own database, sending out email notifications, etc. because there is no guarantee this page will ever be reached so the code won't always run.
For that sort of thing you'll want to use Instant Payment Notification (IPN). This works very similar to PDT except that it will always POST data to your IPN listener on your server regardless of whether or not the user makes it back to your return URL, and it happens outside of your checkout system all together.