How to rectify the error in payu payment gateway in codeigniter? - codeigniter

In one of my website, I have integrated payu payment gateway,after all the debit card details in the payu page,it is going to this page instead of showing the page where we enter otp which shows an error as shown in the image above.
Is this an error in the part of the payment gateway or coding mistake ?

Related

How can I validate if card has insufficient balance or card is declined in stripe payment using payment intent in Laravel?

I have implemented stripe payment using Laravel. In which I am making payment using payment intent.
When I enter wrong card details, it shows me the error message at the time of creating the token. But when I try to make payment with cards like insufficient balance, lost card, blocked card, etc. from stripe test cards. It accepts payment from all cards instead of showing me the error message and shows me entry in my stripe account.
First I have created token, then created payment intent and then confirmed the payment intent.
Can anyone help me out here?
You can use try catch. In the catch you need to catch paymnet exception. You will get exception list in the stripe documentation.

Paypal Sandbox: Sorry, we can’t complete your purchase at this time

requires:
1. Laravel 5.5
2. paypal/rest-api-sdk-php:*
also:
My paypal account is Egyption , and not attached to any credit card
Problem:
The sandbox buyer account fail to accomplish the payment and says:
Sorry, we can’t complete your purchase at this time

Paypal website payment hosted pro "Please select a valid card type." in iFrame

I am trying to update an existing Magento 1.9 EC site to start to use PayPal Website Payment Pro as payment method but am hitting an issue with the behaviour within the iframe.
I have created a sandbox account for both the buyer and business, the settings are working and I can make the payment if I use the "Pay with Paypal" button. The sandbox credit card also works if in the PayPal page I use it without being logged in.
But if I try to use the credit card in the iFrame I have the "Please select a valid card type." message show up. Invalid credit cards will not show that specific message.
It looks like it wants me to make an action to select Visa as the type, but the card type cannot be selected, it detects the number as a Visa card, greys out the other types and keeps the Visa one visible.
This seems to be all happening within the iFrame I use to host the result of the initial request which builds the form on the paypal site.
Also, the rest of the integration seems to be working, if we use the "Pay with Paypal" button, complete the credit card payment on that page we go back to the proper return page and the order records the payment in Magento.
Which makes me wonder why there is only an issue within that iFrame?
Is that solution not working? Should we look at some of the other options?
Log in to your developer paypal account.
choose the merchant account you have created and click the profile tab
Use the credit which is displayed under Funding Tab..
You can add more cards by logging into your sandbox.paypal.com using merchant account u created and goto profile->credit cards which is under financial information
Hope this helps

I have implemented 2Checkout payment API?

I have implemented 2Checkout payment API? But sometime its showing "curl call failed". Otherwise it showing "Payment Authorization Failed: Please verify your information and try again, or try another payment method." Can any one help to correct the error.

How can I extend Magento to override payment info validation?

I am building a Magento extension to handle Level 3 payments through PayTrace's payment gateway. This particular payment method allows customers to select a saved credit card via Paytrace's customer info management (tokenized saved cards) instead of entering credit card information.
I can use Prototype, I understand how to add validation classes to the HTML in the template.
But the other validation is stumping me. I want to be able to submit the payment card's Paytrace id and not a credit card # and expiration date. When I add a select to the template and submit the selected card id, it pops up a javascript alert telling me "Incorrect credit card expiration date".
There is a request to "/checkout/onepage/savePayment" when I click "continue" that comes back with json {"error":"Incorrect credit card expiration date."} so this validation appears to occur via PHP on the server side.
My question here is "how do I extend Magento to override the server side one page checkout validation for payment?"

Resources