Paypal Pro Iframe opencart - php

I got an email from Paypal saying (below). And I cant find anything to help me fix it, Im using the Opencart standard payment gateway called "PayPal Website Payment Pro iFrame" and I do not know how to update it. any help would be appreciated.
We are contacting you regarding a change that you are required to make by 30th August 2015.
PayPal has detected that you have hard coded the following Pro Hosted Solution URL in your code:(Had to remove link)
PayPal does not recommend hard coding. Instead, you should read the URL from the button creation API response.
If you must hard code this URL, you need to update it to the following: https://securepayments.paypal.com/webap ... ionProcess
You can find comprehensive instructions regarding the required integration changes on our Technical Support Help Centre: https://ppmts.custhelp.com/app/answers/detail/a_id/1231
Click the above link or visit the PayPal Technical Support Centre and search for article ID ‘1231’ or ‘Updating API Integration for Pro Hosted’ for instructions on ensuring that your payment processing is not interrupted when we stop supporting the current hardcoded URL.
Important: you must either read the URL from the button creation API response or update your hard code URL by no later than 30 August 2015. Otherwise, your existing hard coded Pro Hosted Solution URL will not be supported after that date.
If you require any additional support, our Merchant Technical Support team are on hand and ready to help. You can contact them by opening a ticket on ...
Thank you for your time.

I believe this is an issue in the code for "PayPal Website Payment Pro iFrame" which its developer needs to fix or provide you with a workaround. Have you contacted them regarding this issue?

I also posted the same question on the Opencart Forum, Another member just posted a workaround, replacing lines of code in the php file for that gateway.
find out more here.
http://forum.opencart.com/viewtopic.php?f=185&t=150542

Related

How to do credit card payments in the web site in codeigniter

I know this question has repeated in stackoverflow. But i'm posting this, just to get an advice as i have messed up all the things about this topic and i don't have any correct idea of what i'm doing.Please guide me.I will be very grateful. I'm just a beginner to programming. I'm developing a web site, Which can post advertisements by customers about vehicles. and whenever a customer posted a ad, if he/she needs to make that posted advertisement to be appear at the top of the website, he/she can pay a fixed amount of money and make that advertisement the top ad. So for this task i need to ad a payment gateway which can accept credit card payments.
I have created a sandbox account in paypal developer site and also have upgraded it to paypal pro account. and also i watched so many tutorials on this, but now i have messed up with all those tutorial information and i don't have correct idea about how to do this. In some tutorials there linking the paypal account with paypal manager etc. I'm messed up with all these things and i don't know what purpose they are creating this paypal manager etc. According to my knowledge i think, To accept credit card details paypal payment pro account is used. So please anyone can give me a guide to how to begin to do this task. and if anyone can please show me a any step by step tutorial to achieve this task.
please guide me.
I will be very grateful for any help :-)
If you are using Paypal to validate payment, normally you just have to use the PayPal API.
Official documentation is good : Paypal SDK
Hope it can helps you.
EDIT : Here, examples in PHP, very simple.

PayPal BillSafe Integration

In a project I need to integrate PayPal BillSafe as payment gateway.
I visited the official website for it https://www.billsafe.de/
The problem is that the site is in German, even documentation is also in german.
I don't need anyone to translate but after reading comments in SDK, I just needed to know about following methods of billsafe what they are for and what they will do.
List is as follows:
prepareOrder
getTransactionResult
getPaymentInstruction
reportShipment
updateArticleList
getTransactionId
getPayoutStatus
getAgreedHandlingCharges
reportDirectPayment,
setOrderNumber
setInvoiceNumber
getArticleList
pauseTransaction
prevalidateOrder
getSettlement
revertReportShipment
processOrde
These methods/options are provided to do payment but what it exactly does is not clear to me! Any help is appreciated.

Paypal error - getTransactionFee method does not exist

I have a custom website with a custom shopping cart built in. I am using the Paypal API Standard Payments method to send the shopping cart information over to Paypal & then returning on a return URL to my order_process.php page. Once it returns to my website, the code updates information in our database to sign members up for events, give them a membership etc.
Everything was working fine until Paypal flagged our account due to the high increase in payments coming in within a short period of time.
I spoke with a supervisor over at Paypal & they lifted the flag from our account.
We did not change anything on our end but now the site is not working properly anymore. It sends the information over to Paypal, takes the payment successfully & comes back to our site.
Once it gets to the line in code
$result = execute_payment($_SESSION["payment_id"], $_GET["PayerID"]);
It crashes with an error: "Method PayPal\Api\Sale::getTransactionFee() does not exist"
I've spoken to Paypal numerous times and they keep saying they will call me back with no return phone calls. I've extensively Googled this error and cannot find anything on this topic. I'm at a lost of what to try next and this is causing a lot of disruption because we are processing a high amount of transactions. I switched the site over to a development domain and tried on Sandbox mode and am still receiving the same error message.
Any help at all will be greatly appreciated.
Our site has just started displaying this behaviour too, I don't understand what is going on. It was working perfectly this time last week.
Maybe there is a new version of the PayPal PHP SDK I need to download!?!?
Help!
-- UPDATE: found this on the PHP SDK wiki: "Seeing this error: 'Method PayPal\Api\Sale::getTransactionFee() does not exist' in paypal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PPReflectionUtil.php:73, Please upgrade the SDK to latest version v1.2.1."
See https://github.com/paypal/PayPal-PHP-SDK/wiki
I've downloaded the new SDK and am integrating it now. Will update when done ...
-- Another Update: Updated our test site to use version 1.2.1 of PHP SDK, and everything works fine against the sandbox. Not sure which language/SDK you're using, but might be worth an update?
I just spoke with an engineer over at Paypal. Apparently they updated some of their code and are aware of this issue. They are currently working on a fix to the problem.

Billdesk payment integrations in php

I am trying to find ways to integrate bill desk payment in php , but i am not able to find
any code snippet in php , However there are no any clues for sandbox environment in billdesk
Can any one please give me right steps to integrate billdesk with php?
The bank itself would be expected to provide such tutorials.
If you can't find any on their site, then it's unlikely that you'll find them elsewhere unless it's a bank that's already very widely used for online transaction processing. Call them and ask them what help they can provide. Banks I've worked with have always been very happy to help.
Rather than just integrating into your website, it can be helpful to use an existing, popular shopping cart system e.g. Ubercart, which will have a lot of the code you need already in place and will have examples of where similar plugins has been done with other banks, e.g. here.

paypal express oscommerce only sending name and email when buyer orders an item from store

The php script oscommerce uses for paypal express , and other paypal modules only sends the buyers name and email when they order something. I found a quick fix for a different paypal module that sends all the useful information when some one buys something ,i.e. address what items they bought and quantity.
i found this fix on the web here, but it is for a different paypal module is there a fix for paypal express? This will be extremely helpful for me, thank you
if needed i can send the php script for paypal express , its over 400 lines. I added the code to paste bin here
is there a fix for paypal express on the web some where or can some one help me to get paypal express to work thank you
What you have to do is to add some parameters into the post request. In your pastebin file (which is not the latest version of the module) it is about lines 197-201.
You can find the list of parameters here: https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_ECCustomizing under "Integrating Order Details into the Express Checkout Flow" section.
If you have at least basic PHP knowledge it will not be a problem for you to do this. If something is still not clear please ask.

Categories