grumpy1948
grumpy1948
Offline
0
I want the PayPal Transaction to be for the invoice total and not the Item qty and and price.
I want the description field to contain the invoice number and a customised description.
These details should be placed in the Check Out window and carried through to PayPal
How do I configure the plugin to do this? At present the window shows the invoice number followed by a '-' in the description field and leaves the payer to fill in the rest.

Frank W
Responses (9)
  • Accepted Answer

    Monday, March 20 2017, 09:49 AM - #Permalink
    0
    hello
    the transaction is always for the value of the PAYMENT contained in the invoice.

    you just need to make sure that the payment is for the full amount of the invoice, that's all. do you know what I mean?
    The reply is currently minimized Show
  • Accepted Answer

    grumpy1948
    grumpy1948
    Offline
    Monday, March 20 2017, 03:39 PM - #Permalink
    0
    Hi Germinal
    I assume you mean that when creating an invoice the $payments Array should be partially populated. I have been creating this with empty fields as I have wrongly assumed that it has no role when creating an invoice. Please advise which fields should be populated and the expected data type and format for those fields. I am still having problems passing the invoice_duedate to the $invoice_data array. I keep getting NOTSETTED or Not Set in the created invoice.

    BTW I have resolved the Paging/Footer issues of the dompdf created pdf invoices. I have also found how to email the invoice attachment with a customised EMail message rather than the Invoice as the message.

    Frank
    The reply is currently minimized Show
  • Accepted Answer

    Monday, March 20 2017, 05:07 PM - #Permalink
    0
    if you're creating the invoice using the API, then you have an option to let the system create a payment, for that invoice, for the total value of that invoice.

    you just have to pass another value into the $invoice_data array, named 'automatic_payment', set to TRUE or '1'
    The reply is currently minimized Show
  • Accepted Answer

    grumpy1948
    grumpy1948
    Offline
    Monday, March 20 2017, 06:09 PM - #Permalink
    0
    Yes I am using the API. The total value is now being set and the PayPal checkout is automaticaly populated with that value. I have also resolved the Due Date issue for the invoice but the Due date and description fields of the payment are not being populated. I have tried the above and also passing a populated $payment array to no avail.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 21 2017, 10:47 AM - #Permalink
    0
    well, if you use that automatic option, then no due date or description will be populated.

    to populate these, you can't use the automatic option. you need to pass the $payments array with all the data you want.
    The reply is currently minimized Show
  • Accepted Answer

    grumpy1948
    grumpy1948
    Offline
    Wednesday, March 22 2017, 10:16 AM - #Permalink
    0
    PayPal transactions using sandbox account are generated OK when using fully populated $payments_array and autopayments set to 0. However the payment is not being recorded in the invoice record. On clicking the Return to Merchant button I see a message that says that the transaction was not successful. How does the plugin get this from PayPal? I am also not getting any email messages from the PayPal process but I guess this is a PayPal issue. Am I missing something in the PayPal account configurations?

    Frank w
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, March 22 2017, 04:50 PM - #Permalink
    0
    Sandbox will always return "not successful". The real environment works just fine.
    The reply is currently minimized Show
  • Accepted Answer

    grumpy1948
    grumpy1948
    Offline
    Friday, April 28 2017, 03:16 PM - #Permalink
    0
    We are now working in live mode and I was expecting the PayPal Transaction successful message to cause the Invoice Status to be set as paid automatically. It is not. Have I missed something in the configuration? Or have I misunderstood how IM PayPal plugin works?

    Frank W
    • Germinal Camps
      more than a month ago
      yes, it should set the payment status to "paid" automatically...
      if it's not, then something is failing.
      if you want to send me access I can take a look.
    The reply is currently minimized Show
  • Accepted Answer

    grumpy1948
    grumpy1948
    Offline
    Tuesday, May 02 2017, 01:18 PM - #Permalink
    0
    Info sent via PM
    The reply is currently minimized Show
Your Reply