GithubHelp home page GithubHelp logo

pfpayments / prestashop-1.7 Goto Github PK

View Code? Open in Web Editor NEW
4.0 7.0 3.0 20.65 MB

PostFinance Checkout integration for PrestaShop 1.7

Home Page: https://www.postfinance-checkout.ch

License: Apache License 2.0

PHP 97.25% CSS 1.33% JavaScript 0.57% Smarty 0.85%
postfinance postfinance-checkout payment payment-integration php prestashop prestashop-1-7 prestashop-module

prestashop-1.7's Introduction

Build Status

PrestaShop 1.7 PostFinance Checkout Integration

This repository contains the PrestaShop PostFinance Checkout payment module that enables the shop to process payments with PostFinance Checkout.

To install module manually by dragging up zip file, please download .zip archive of module with correct structure required by Prestashop installation.

Important Notice for Existing Merchants

Compatibility Update for Our Prestashop Plugin

Effective from version 1.2.36 of our plugin, we have made important changes to enhance its functionality. To ensure a seamless experience, please take note of the following instructions:

1. Uninstall the Mailhook Plugin

If you are an existing merchant using our Prestashop plugin, it is crucial that you uninstall the Mailhook plugin from your Prestashop shop modules. This step is necessary because our plugin now includes the Mailhook functionality by default. Also please disable all plugins that overrides default mail behavior. If you can't install/enable or uninstall the plugin, please rename or delete Mail.php from override folder if it exists there.

2. Download the Correct Plugin Archive

We have provided a ZIP archive that contains the correct structural setup of our plugin, along with the Mailhook plugin. To guarantee the proper operation of our solution, please use this archive for installation.

Your prompt attention to these instructions is greatly appreciated. If you have any questions or require further assistance, please do not hesitate to contact our support team.

To use this extension, a PostFinance Checkout account is required.

Requirements

Documentation

Support

Support queries can be issued on the PostFinance Checkout support site.

License

Please see the license file for more information.

Other PrestaShop Versions

Find the module for different PrestaShop versions here.

prestashop-1.7's People

Contributors

alberto-wallee avatar alejandrososa avatar andrewrowanwallee avatar edgaraswallee avatar nicoeigenmanncw avatar sbossert avatar theodorspringwallee avatar victoralbala avatar vttn avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

prestashop-1.7's Issues

There was a technical issue, please try again.

There seems to be a problem with the module. On Prestahop 1.7.7.2 the module does not work. When trying to pay with any payment method, the site displays this error: There was a technical issue, please try again.

No invoice attached to the mail

Freshly installed Version 1.2.39 in a PS 1.7.8.9

With activated checkout module on a order with payment bankwire no invoice is attached to the 'bankwire'-mail.
With checkout module deactivated the invoice is attached to the mail again - as it should.

Missing release 1.2.34

Hello,

V1.2.34 has been released but the module .zip file is missing.
Thank you.

Alex

Paypal fees not applying

I added payment fees for paypal transaction (percentage) but it doesn't apply to the cart....

Exception stored in Prestashop logs on 1.2.20

Hello,

Since a few days, there is some errors logs (backoffice logs) in my PS 1.7.8.3 using the module version 1.2.20.

Exception on hook paymentOptions for module . Plugin tag 'postfinancecheckout_clean_html' already registered

How can I help to debug that ?
Thank you.

National languages are missing

The same problem is there in both versions of the module, for Prestashop 1.6 and Prestashop 1.7, see pfpayments/prestashop-1.6#4.

Is your feature request related to a problem?

This plugin is available only in English and German. French and Italian are missing.
Yes, Postfinance Checkout Flex is targeting whole of Switzerland. Switzerland has four national languages. Merchants in French and Italian speaking region should not be required to speak English or German in order to use this plugin.

But even more important, customers anywhere located in Switzerland should be able to buy on websites at least in the three main langages, French, Italian and German. For a merchant, selling goods in whole Switzerland and requiring their customers to speak German is not an option. With Postfinance Checkout exclusively in German, a merchant will loose 99% of his revenue in French and Italian speaking regions or be required to use a competitor's solution.

Describe the solution you'd like

It is absolutely essential, that the part of Postfinance Checkout payment that displays to the customer is 100% available in French and Italian.
It would be good, that the backoffice too is translated.

Alternatives you've considered

There is no alternative to displaying to the customer a payment interface in his native language. A Swiss payment solution MUST be translated into at least German, French and Italian. Without this, it is not a Swiss payment solution.

httpOnly?

We have been trying to get the new PF module to work with Prestashop since December.

Status remains at “PostFinance Checkout Processin” despite successful payment. The customer's shopping cart does not empty.

PostFinance support writes:

Basically, this is the setting for our communication via the webbooks
path=/; domain=www.ballonshop.ch; secure; HttpOnly
is not allowed.
May I ask you to deactivate the “HttpOnly” setting via your web host.

Disable HttpOnly? Really? On a webshop?

Yesterday support wrote:
I asked our technical partner again.
they confirm to me that the "httpOnly" function is not supported by PostFinance Checkout's Prestashop plugin.
This would have to be included as a future proposed change.

I can't believe the module doesn't accept httpOnly.

order conf mail also when payment error

In Prestashop 1.7.8.9 the order conf mail is also mailed when they payment is not done, means when there is an problem with the payment and not confirmed. This is a big problem, because customers getting a confirmation also when the order is not paid. How to solve that problem?

Issue with promo codes Prestashop 1.7

Dear team,

When I add a discount code to the shopping cart, the Postfinance Checkout module does not offer any payment method. I am in Demo mode with Prestashop version 1.7.5.2 and 1.7.6. Do you have any advice to fix this issue?

Thank you in advance and best regards,
Fred

Payment Option on Invoice is "Postfinance Checkout"

In Prestashop 1.6 our invoices displayed the actual payment option of the module and not just the module's name. Would be great if that could be arranged again for Prestashop 1.7. Since I switched to Prestashop 1.7 the payment method on the invoices is always just "Postfinance Checkout" instead of Twint, Paypal, Postfinance, Card, etc. Would that be possible to get the real payment method on the invoices back? I checked overrides and templates, they all seem to be ok on my end.

Thanks a lot for consideration :)

The amount in the basket does not correspond to the amount that TWINT or Posftinance asks us to pay.

Good morning,

I installed and configured the module on my store which runs on Prestashop 1.7.8.10

However, when I try to place an order using Postcard or Twint for payment (I haven't tried using a credit card), a strange thing happens.

Indeed, when the Twint or Postfinance page opens to validate the payment, the amount in the basket does not correspond to the amount that TWINT or Posftinance asks us to pay.

The amount displayed corresponds to the price of one of the products in the basket.
This happens if the number of products in the basket is greater than 1.

On the other hand, if the basket contains a single product, the amount displayed to pay corresponds to the amount of the basket.

I also use PayPal (separate module) as a payment method and there are no problems. Everything works normally.

1
2
3
4

The amount of 28.90 corresponds to the price of the item which costs 19.90 + 9 for shipping costs. (the rule: free delivery for all orders over 100 CHF).

I informed Postfinance about this and have been waiting for their response since Monday.
Any idea where this problem could come from?

Thank you in advance for your advice.

Yours sincerely,

Arijan

3DSecure not loading for credit card payments

Hello,
I'm having some problems since 3 weeks with the 3D Secure code popup not loading/appearing.
I already tried to upgrade to the latest version of the module 1.2.44 without luck.
I keep having lots of carts abandoned becouse of this.
The problem only appear when using the credit card kind of payment (Visa, Mastercard)
The customer can't finish the payment because the 3D secure window where to insert the 3dcode doesn't show/load and then the payment goes in a timeout state.
In the PostFinance backend website i have the following errors (I translate from Italian, actual wording may differ a little):

  • "Transaction didn't succed. The time limit for the transaction was hit. The customer never loaded the payment module."
  • "The transaction was closed because the customer never started the payment process."

I got in contact with some customers and they all said that when paying with the Visa, MasterCard method they can't insert the 3D secure code asked because no popup is showing.
This happens randomly, for example it's working for me, but I have an in-app 3dsecure confirmation on my phone.
I suspect this happens only to who have to manually insert the 3d secure code on my website (usually those who receive it by sms text).
I digged a lot in the logs and code and can't find any error on my side.
Are those pages that should be loaded on the customer bank servers or are generated by postfinance? I'm trying to find out why they are not loading. I already excluded antivirus or adblock problems. So it must be some problem on their side I guess?
Any help is appreciated.

ContextErrorException while debugging, because of missing parameter

Hi, while debugging a shop, I encountered this error:

ContextErrorException

Warning: Declaration of 

PostFinanceCheckout::validateOrder($id_cart, $id_order_state, $amount_paid, $payment_method = 'Unknown', $message = NULL, $extra_vars = Array, $currency_special = NULL, $dont_touch_amount = false, $secure_key = false, ?Shop $shop = NULL) 

should be compatible with 

      PaymentModule::validateOrder($id_cart, $id_order_state, $amount_paid, $payment_method = 'Unknown', $message = NULL, $extra_vars = Array, $currency_special = NULL, $dont_touch_amount = false, $secure_key = false, ?Shop $shop = NULL, ?string $order_reference = NULL)

Adding ", ?string $order_reference = NULL" as the last optional parameter in the controller fixed it.

PrestaShop-Version: 1.7.8.8, PHP 7.4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.