Openart Order via PayPal Pending - opencart

I have an Opencart site, basically I have PayPal payment (sandbox mode), but when I try to pay it, it is always pending on admin even though on Paypal it is successfully paid,
here is my error log IPN
2018-02-09 7:28:38 - PP_STANDARD :: IPN REQUEST:
cmd=_notify-validate&mc_gross=253.00&invoice=44+Mark+Anthony+Bautista&protection_eligibility=Eligible&item_number1=Product+5&item_number2=&payer_id=DMF8T4TAAWKCJ&payment_date=23%3A28%3A25+Feb+08%2C+2018+PST&option_name2_1=Personalise&option_selection1_1=White&payment_status=Pending&charset=windows-1252&first_name=test¬ify_version=3.8&custom=44&payer_status=verified&business=jo-facilitator%40joyceorena.com&num_cart_items=2&verify_sign=ARhXYj9-geVZC-qz8Pfn8CjmemnhAJsEwj0adsLaEG3Lyj4S9ke0vGla&payer_email=jo-buyer%40joyceorena.com&option_name1_1=Color&txn_id=24C45780W2261325L&payment_type=instant&option_selection2_1=Size+Personalisation&last_name=buyer&item_name1=Cashmere+Saint+Laurent&receiver_email=jo-facilitator%40joyceorena.com&item_name2=Shipping%2C+Handling%2C+Discounts+%26+Taxes&quantity1=1&quantity2=1&receiver_id=4N8KBNVHLZE8Y&pending_reason=multi_currency&txn_type=cart&mc_gross_1=203.00&mc_currency=PHP&mc_gross_2=50.00&residence_country=US&test_ipn=1&transaction_subject=&payment_gross=&ipn_track_id=1b30468ca8807
2018-02-09 7:28:38 - PP_STANDARD :: IPN RESPONSE: VERIFIED
Can someone tell me what is missing ?
Opencart Version 2.2.0.0
Paypal Standard Payment

It seems that the payment sent over in Peso but your merchant account does not having Peso in accepted currencies. You need to add Peso currencies in your merchant account.
Look at the pending_reason=multi_currency. This somehow shows you that you are not holding the currencies that the payment was sent to.

Related

How to redirect the customer to the success page after Payment from Stripe?

I am using Stripe to handle my payments for my own rental website. (Backend - DJANGO)
Previously, I was using Stripe ChargesAPI and was manually sending out payouts to the Host of the property but I came to know that it can be automated by using Stripe PaymentIntentsAPI.
I have successfully managed to onboard my customers to receive payments in their bank accounts using Stripe Express.
After creating the payment intent and passing to the client I can charge their account as well as update my database for the booking.
The problem I am facing here is after the payment is done, I want to redirect the customer to the success page or payment failure page which I was able to do it by passing my reservation ID and updating it as payment received which I now do by using Webhooks.
How can redirect my customer to the success page showing the receipt of the booking?
You'll have to setup Payment Intent using a custom payment flow.
Briefly, how it works:
Capture your user's credit/debit card information and send a request to Stripe to authorize the card. If any additional verification checks are needed, Stripe provides you with an easy way to handle this
After authorization is complete, you capture the payment
If payment is successful, you show the user a success page, if not you show them an error message
Here's a link to the documentation: https://stripe.com/docs/payments/accept-a-payment?integration=elements

OpenCart 3.0 (3.x) + Authorize.net - how to disable ONLY the Authorize.net E-mail?

We currently accept credit cards by phone (entering the order info into the Virtual Terminal) as well as on the website (OpenCart, using the built-in Authorize.net AIM module).
Problem: when order is placed on website, the customer receives 2 E-mails - 1 from our site, 1 from Authorize. The Authorize E-mail, being plaintext, looks ugly AF, and my boss wants to have it disabled.
Attempt # 1: looked in the Authorize.net AIM plugin/module settings. No such option.
Attempt # 2: in the Authorize.net account, under "Settings -> E-mail Receipt", there is a checkbox "Email transaction receipt to customer (if email address is provided)".
Result #2: unfortunately, this disables ALL transaction E-mails - from website transactions (OK) and from Virtual Terminal phone-order transactions (NOT cool). We have to provide an E-mail receipt to phone customers.
Attempt #3: in the OpenCart system, editing file:
catalog/controller/extension/payment/authorizenet_aim.php
to comment out the line
$data['x_email'] = $order_info['email'];
Result #3: during checkout, even if a valid E-mail is entered, upon trying to submit the order, the "Email address is required" error message appears.
So...
Can't disable it in Authorize plugin/module in OpenCart.
Can't disable it in Authorize Account Settings.
Can't just delete the E-mail from the array of data that OpenCart collects during checkout.
How can I disable the Authorize.net E-mail (and ONLY the Authorize.net E-mail, I still want the website receipt to go out) on a site built on OpenCart 3.0?
Found the solution (via Authorize.net Developers Forum). Simpler than I expected:
Open file: public_html/catalog/controller/extension/payment/authorizenet_aim.php
Find line: $data['x_relay_response'] = 'false';
Add after: $data['x_email_customer'] = 'false';
This allows the checkout process to complete without errors, and sends the transaction to Authorize.net along with the instruction to not E-mail the customer.
This isn't a great solution but could you change the email address that gets sent to Authorize.net to be the store admin email, in that case it won't give you the "Email address is required" error message and you'll get that email instead of the customer.
In attempt number 3, can you confirm whether OpenCart gives the error about the email being required or if Authorize.Net gives that error? If Authorize.Net provides the error it may be reconciled by adjusting the payment form settings in Authorize.Net:
1. Sign into Authorize.Net
2. Account > Payment Form > Form Fields
3. Make sure the email field isn’t checked as required.
4. Save your changes at the bottom of the page

Sitecore SES Using Authorize.Net as Payment Provider

I have a Sitecore 7.2 website, running SES 2.2 that uses Authorize.Net as it's payment provider.
For the past couple of months, we have been able to send test orders through to Authorize.Net using a Sandbox Developer account, however, now as we approach the launch of the website, we cannot get through to the live Authorize.Net account.
In our Authorize.Net content item, under Sitecore/Content/Home/Business Catalog/Payments/AuthorizeNet we have updated the username and password to those provided to us by Authorize.Net for our live Merchant account, updated the payment provider URL to https://secure.authorize.net/gateway/transact.dll and in the settings change x_test_request to FALSE.
The content item has been saved and published to web.
However, we cannot get through to authorize.net to accept payment.
We have spoken with Authorize.Net's developer support and were told that the error can be triggered by 1 of 3 things:
The account is inactive (we know this is not the case, because I was
currently logged in).
The site code / shopping cart settings are posting to the test URL (the rep confirmed we are posting to the
proper url)
The Transaction Key and/or API Login ID is invalid.
We have entered the Transaction Key (password in content item) and Login ID (username) exactly as provided by authorize.net, but still have not had any luck.
Has anyone experienced anything like this?

Django Multiple paypal IPN signals received

We are using django-paypal for paypal ipn notification.
All works great signals are received and inserted in the ipn tables .
We have specified the IPN URL in merchant profile. When you check the history logs of paypal ipn it says retrying ... times even though our server is receiving each signal
We even wrote to paypal regarding this but they say they are not getting http status code 200 from our server.
What could be the issue when all signals are successfully inserted into our database.Each purchase has atleast 10 entries which is number of times paypal tries to send if it doesnt get 200 status
Any help to fix this is much appreciated
The issue is fixed.
After saving the object (ipn) it should return HttpResponse("OKAY") to paypal
but somehow my code had an empty return

osCommerce Authorize.net confirm payment time out

i am using oscommerce for my client.
i have integrate authorize.net payment module for payment using credit card.
when i am checkout and confirm payment after enter credit card detail..
page is time out and give the following error.
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.
any one know why this problem occure..
If any help it would be appreciated...
This means the relay response used by OSCommerce is not returning a successful response to Authorize.Net in time (5 seconds). As a result Authorize.Net is assuming the page is not functioning and displaying that message. I'm not familiar with OSCommerce to know how to fix it but hopefully this points you in the right direction.