automatic invoicing with Phoca Cart

Phoca Cart - complex e-commerce extension
TzaIS
Phoca Professional
Phoca Professional
Posts: 130
Joined: 03 Aug 2020, 22:56

Re: automatic invoicing with Phoca Cart

Post by TzaIS »

Hi, Benno,
I was initially shipwrecked with PayPal Standard, PayPal Credit Card and PayPal Direct Debit, as well as with Stripe Credit Card, but now, together with my girlfriend, I have fully functionalized PayPal Standard for PayPal Standard by comparing it with my parallel installation on my test server at home! It was due to the setting "Payment > PayPal > Payment Method Options > Confirm SSL Certificate", which I had to set to "No" to finally get an "Order Status" with the term "Completed". Under "Completed" I have the option "Download" and "E-Mail (customer)" switched on with "Yes". The download has been activated and can be seen under "Downloads" sorted by date and time as part of the list and not "hidden" but "published". My prepared invoice e-mail was sent. All other three payment methods also have an entry under "Downloads" but with the property "hidden", so you have to manually switch to "published" in this menu item.

So now it's your turn. That it works in principle, I have thus proven. For the other payment methods I still have the property "pending" at "orders". I hope that together we can still eliminate this bug. Although I have programming experience as an IT specialist and during my physics studies as a VBA programmer of Excel, I don't know anything about your great and great source code of PhocaCart.

I hope for your very valuable help. By the way, I changed the source code of the "theme.css" of "Phoca_duka" a little bit, so that all links are displayed bold and blue. So all menu commands, links and the link "Shopping Cart > Show Checkout" are highlighted accordingly. Please have a look at the result at seniorenwandern-zais.de . I thank you in advance for your help.

With best regards, Thomas.

The same content in German Language:

Hallo Benno,
ich habe zunächst Schiffbruch erlitten mit PayPal Standard, PayPal Kreditkarte und PayPal Lastschrift, sowie mit Stripe Kreditkarte, habe jetzt immerhin für PayPal Standard zusammen mit meiner Freundin, durch Vergleich mit meiner Parallelinstallation auf meinem Testserver zu Hause, PayPal Standard vollständig in Funktion gebracht! Es lag an der Einstellung "Zahlung > PayPal > Optionen der Zahlungsmethode > SSL-Zertifikat bestätigen", die ich auf "Nein" stellen musste, um endlich einen "Auftragsstatus" mit dem Term "Vollendet" zu bekommen. Unter "Vollendet" sind bei mir die Option "Download" und "E-Mail (Kunde)" angeschaltet mit "Ja". Der Download wurde freigeschaltet so z. B. zu sehen unter "Downloads" sortiert nach Datum und Uhrzeit als Teil der Liste und nicht "versteckt" sondern "veröffentlicht". Meine vorbereitete Rechnungs-E-Mail wurde versendet. Alle anderen drei Zahlungsmethoden haben auch einen Eintrag unter "Downloads" allerdings mit der Eigenschaft "versteckt", müssen also manuell in diesem Menüpunkt auf "veröffentlicht" geschaltet werden.

So jetzt kommt Ihr dran. Dass es prinzipiell geht, habe ich somit bewiesen. Für die anderen Zahlungsmöglichkeiten habe ich immer noch bei "Bestellungen" die Eigenschaft "Schwebend". Ich hoffe, dass wir zusammen diesen Bug noch ausmerzen können. Ich habe zwar Programmiererfahrung als Fachinformatiker und während meines Physikstudiums als VBA-Programmierer von Excel, weiß allerdings in Eurem großen und großartigen Quellcode von PhocaCart überhaupt nicht Bescheid.

Ich hoffe auf Eure für mich sehr wertvolle Hilfe. Übrigens habe ich den Quellcode der "theme.css" von "Phoca_duka" etwas abgeändert, so dass alle Links fett und blau dargestellt werden. So werden alle Menübefehle, Links und der Link "Warenkorb > Kasse anzeigen" entsprechend hervorgehoben. Bitte schaut Euch das Ergebnis einmal an unter seniorenwandern-zais.de . Ich danke schon im voraus für Eure Hilfe.

Mit freundlichen Grüßen, Thomas.

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9119
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: automatic invoicing with Phoca Cart

Post by Benno »

Hi,
ich habe zunächst Schiffbruch erlitten mit PayPal Standard, PayPal Kreditkarte und PayPal Lastschrift, sowie mit Stripe Kreditkarte, habe jetzt immerhin [...] PayPal Standard [...] vollständig in Funktion gebracht!
Was hat denn Deine Supportanfrage an Stripe ergeben, die Dir Jan und ich empfohlen hatten? Und hat es danach lokal funktioniert? Immerhin ist das ein kostenpflichtiges, externes Plugin für das Du Supportanspruch von NorrNext hast..
Im NorrNext Forum habe ich diesen Thread gefunden. Hilft Dir das vielleicht weiter?

PayPal Kreditkarte und PayPal Lastschrift sagt mir leider gar nichts. Wo hast Du diese Plugins her? :idea:

Freundliche Grüße,
Benno
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: automatic invoicing with Phoca Cart

Post by Jan »

Hi,
That it works in principle, I have thus proven. For the other payment methods I still have the property "pending" at "orders"
As default, order status is set to "pending". You can change it in Options:
Image

And then depends on each payment method which status will be set. Payment method can set the status directly to another value then pending or afterwards when your server gets information about the payment. Typically Paypal leaves the status unchanged (pending) until the confirmation will be sent to server. Then it changes the status to which is set in Payment method options.


Jan
If you find Phoca extensions useful, please support the project
TzaIS
Phoca Professional
Phoca Professional
Posts: 130
Joined: 03 Aug 2020, 22:56

Re: automatic invoicing with Phoca Cart

Post by TzaIS »

Hi Benno,
Your site on Norrnext is great. Thanks a lot for that! I will try it first thing tomorrow morning. The webhook was not correctly placed on Stripe. Due to the change of the URL from the test computer with DynDNS to the new URL seniorenwandern-zais.de there was a new webhook to enter into the dashboard of Stripe!

PayPal has the options PayPal or "debit card" at the login screen, which opens for payment. If you click on "Debit-Card", the options "Credit Card" or "Direct Debit" will appear.

With both options I had no success, the session ended with an error message and the status in Phoca Cart at "Orders" remained on "Pending"! Too bad somewhere, because I would have got all payment options I was interested in in one provider.

Maybe you still have an idea? Thanks a lot and see you soon.

With best regards, Thomas.
The same content in German language:

Hi Benno,
Deine Seite bei Norrnext ist super. Vielen Dank dafür!! Ich probiere es morgen früh gleich einmal aus. Der Webhook war nicht richtig angelegt bei Stripe. Durch die Änderung der URL vom Testrechner mit DynDNS zur neuen URL seniorenwandern-zais.de gab es einen neuen Webhook in das Dashboard von Stripe einzutragen!

PayPal hat bei der Anmeldemaske, die zur Zahlung sich öffnet, die Optionen PayPal oder "Debit-Karte". Wenn man da dann auf "Debit-Karte" daraufklickt, kommen die Optionen "Kreditkarte" oder "Lastschrift" zum Vorschein.

Bei beiden Optionen hatte ich keinen Erfolg, die Sitzung endete mit einer Fehlermeldung und der Status in Phoca Cart bei "Bestellungen" blieb auf "Schwebend"! Schade irgendwo, da ich damit alle für mich interessanten Zahlungsmöglichkeiten in einem Anbieter bekommen hätte.

Vielleicht hast Du da noch eine Idee? Vielen Dank und bis bald.

Mit herzlichen Grüßen, Thomas.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9119
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: automatic invoicing with Phoca Cart

Post by Benno »

Hi,
PayPal hat bei der Anmeldemaske, die zur Zahlung sich öffnet, die Optionen PayPal oder "Debit-Karte". Wenn man da dann auf "Debit-Karte" daraufklickt, kommen die Optionen "Kreditkarte" oder "Lastschrift" zum Vorschein.
Kannst Du davon Bitte Screenshots posten?
Bei beiden Optionen hatte ich keinen Erfolg, die Sitzung endete mit einer Fehlermeldung
Und von der Fehlermeldung bitte auch!

Was mich nämlich etwas irritiert ist, dass es alle drei Begriffe: Debit-Karte, Kreditkarte und Lastschrift in der Phoca Cart Komponente und im Phoca Cart PayPal Standard Plugin gar nicht gibt. Die oben genannten englischen Begriffe in der en-GB Version auch nicht. Müssten dann also Parameter direkt von PayPal sein. Und da ich nichtmal einen PayPal Account habe und auch nicht vor habe dafür einen einzurichten, kann ich Dir da jedenfalls nicht helfen... Vielleicht Jan. :idea:

Freundliche Grüße,
Benno
TzaIS
Phoca Professional
Phoca Professional
Posts: 130
Joined: 03 Aug 2020, 22:56

Re: automatic invoicing with Phoca Cart

Post by TzaIS »

Hi Benno,
how do I post the desired screenshots on your forum? I have just documented the sales process via PayPal debit and credit card with such screenshots. See you soon. Greetings, Thomas.

The same content in German language:

Hi Benno,
wie poste ich auf Eurem Forum die gewünschten Screenshots? Ich habe gerade eben den Verkaufsvorgang per PayPal Lastschrift und Kreditkarte mit solchen Screenshots dokumentiert. Bis bald. Grüße, Thomas.
christine
Phoca Hero
Phoca Hero
Posts: 2735
Joined: 28 Nov 2010, 17:20

Re: automatic invoicing with Phoca Cart

Post by christine »

Hallo Thomas,

https://www.phoca.cz/documents/50-phoca ... forum-post

Liebe Grüße
Christine
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9119
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: automatic invoicing with Phoca Cart

Post by Benno »

Image
TzaIS
Phoca Professional
Phoca Professional
Posts: 130
Joined: 03 Aug 2020, 22:56

Re: automatic invoicing with Phoca Cart

Post by TzaIS »

Hi, Benno,
here the desired screenshots with the links from Imgur. Your help manual is totally outdated! I hope you can still view the following 11 screenshots!

With kind regards, Thomas

<blockquote class="imgur-embed-pub" lang="en" data-id="a/gM8te4g" data-context="false" ><a href="//imgur.com/a/gM8te4g"></a></blockquote><script async src="//s.imgur.com/min/embed.js" charset="utf-8"></script>

or:

https://imgur.com/a/gM8te4g

The same Content in German language:

Hallo Benno,
hier die gewünschten Screenshots mit den Links aus Imgur. Deine Hilfeanleitung ist leider total veraltet! Ich hoffe, Du kannst die folgenden 11 Screenshots dennoch anschauen!

Mit freundlichen Grüßen, Thomas

<blockquote class="imgur-embed-pub" lang="en" data-id="a/gM8te4g" data-context="false" ><a href="//imgur.com/a/gM8te4g"></a></blockquote><script async src="//s.imgur.com/min/embed.js" charset="utf-8"></script>

oder:

https://imgur.com/a/gM8te4g
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: automatic invoicing with Phoca Cart

Post by Jan »

Hi, unfortunately, I don't see the details of error message on the screenshot? (such details maybe are somewhere in PayPal logs)

But generally, when you pay with PayPal, you just leave your website and Phoca Cart. So this is then only PayPal option. Paypal adds you option to not only use your PayPal account but even to your your card (credit, debit, etc ...). But this in fact has nothing to do with Phoca Cart. Phoca Cart just have the information about the order and redirected you to payment gateway - in this case to PayPal and there it is up to customer which method you will use on PayPal - Phoca Cart then only gets the information that it was paid and it does not care which method you have used on PayPal. And unfortunately it does not get any details if the payment will be not successfully (try to enable logging in Phoca Cart options and see logs - mostly there will be no message from PayPal when the payment is not successfull :-( )

So if there is some error, this should be mostly solved by PayPal and this is completely a PayPal feature. But yes, will be great to see the error, maybe some log if exists on PayPal, to see what can be wrong there. Hard to say if e.g. Phoca Cart can somehow influence it (e.g. to send some additional info) but will be definitely great to see the error message.

So unfortunately, the only way to solve it is to contact PayPal and get more info about this error or see error logs in the vendor account (if some exists) to know what was wrong there. Because Phoca Cart does not get any detailed information :-( (you can test to enable logging but mostly there will be no information about this problem)


Jan
If you find Phoca extensions useful, please support the project
Post Reply