PayPal Invoice API Invoice does not look like Preview - api

I've been testing Paypal Invoicing API and have successfully sent invoices in the Sandbox through CreateAndSendInvoice from a sandbox business account to a sandbox client account. However the mailed Invoice always appears in text without any button to process the payment through Paypal. So I then went into the sandbox business again and created an invoice and sent to the sandbox client account. The mailed Invoice was also plain text that looked nothing like the preview. How can I send in Sandbox a PayPAl Invoice that looks like the Invoice Preview? How can I send an invoice through the PayPal Invoice API that looks like the preview? Currently the sample text invoice I get looks like this
----------------------------------------------------------------------
You've received an invoice
----------------------------------------------------------------------
Hello Client User
Test Store sent you an invoice for $1.10 USD.
View and Pay Invoice
https://www.sandbox.paypal.com/us/cgi_bin/webscr?cmd=_pay-inv&id=INV2-A5ZC-BGK5-JRR5-E58V
----------------------------------------------------------------------
Summary of this invoice
----------------------------------------------------------------------
Sent to: Client USer
client.user#gmail.com
Sent from: Test Store
teststore-facilitator#gmail.com
Invoice number: 0003
Date payment is due: Mar 7, 2014
Amount: $1.10 USD
----------------------------------------------------------------------
Help Center:
https://www.sandbox.paypal.com/us/cgi-bin/helpweb?cmd=_help
Security Center:
https://www.sandbox.paypal.com/us/security
Please don't reply to this email. It'll just confuse the computer that sent it and you won't get a response.
Copyright © 2014 PayPal, Inc. All rights reserved. PayPal is located at 2211 N. First St., San Jose, CA 95131.
PayPal Email ID PP1557

Since you're working with sandbox accounts, it sounds like you must be seeing these emails from the Notifications tab where emails are sent to sandbox accounts..??
I'm pretty sure what you're running into is that the email client used there is limited and actually does see nothing but the text version of those invoices that get sent. If you were to see that same invoice in a better email client it would probably look just fine.
I would recommend logging into the sandbox account of the invoice receiver, and make sure it shows up there in the history like it's supposed to. If it does then it sounds everything worked and would work as expected when you go live and start getting those emails to real email clients.
You could run a final test on the live server and send yourself an invoice to an email account you have (not attached to your PayPal account) for 1.00 or something like that. Then you can see what it actually looks like in your true client.

Related

PayPal Sandbox transactions are not showing for seller

I've used my live PayPal account to login to developer.paypal.com where I created 2 new accounts buyer# (personal) and seller# (business). I've implemented a PayPal plugin for a shop (CubeCart + PayPal Standard Payment Gateway plugin https://www.cubecart.com/extensions/payment-gateways/paypal-standard). When I complete an order (sandbox testing) I sign using buyer# email and password and complete the order. I can then click to view account and it shows "payment to", "unclaimed" and the amount I've paid. When I logout of this account and login as my buyer#, I see no transactions. If I log back into developer.paypal.com and go to transactions under "Sandbox" section and select any of the email addresses I see the same statement for all of them "You don't have any transactions".
If I login to sandbox.paypal.com using james-facilitator# account (business) there are no transactions here either.
If I login to sanbox.paypal.com using james-buyer# account (personal) there is only the one initial transaction here for the initial 9,999 funds
I've obviously missed something but I can't think what, I'm not sure how a sandbox account knows who it's seller should be but I've checked both sandbox seller accounts. I find it strange that the buyer account I used has registered the transaction but it seems like it's orphaned as there isn't any other record of it any where else including the developer.paypal.com sandbox transaction. I've tried this several times to see if I could get it working and I've also allowed for 24 hours just in case there was a delay somewhere.
I just want to be able to test transactions before going live.
Any help/advice?
Much appreciated :)
Cheers
James
Solved - silly really now I know but it was simply the email address I used to test the API. I used my main live account and I should have used the fake email address in my API call. Since my live controls the test accounts I assumed that this should have been used.

How to enable to enable live credentials for REST API direct Credit Card Payments

I seem to be unable to enable Live credentials to accept direct credit card payments for Paypal REST API. Here is what I do:
Log into http://developer.paypal.com
Go to application tab and click on my application name
In the ACCEPT PAYMENTS section it shows:
Accept credit cards directly Enabled for test only How to enable live credentials?
I click on 'How to enable live credentials' link, which further opens up the following:
Important Live credentials are disabled for this feature. To enable
direct credit card processing, please provide addition information
about yourself and your business.
To meet regulatory requirements, we need to collect your business details. This may include:
U.S Business owner Social Security Number, date of birth, and other personal details.
U.S Business Tax ID (EIN, ITIN) and other business information.
Get started
I click on the 'Get Started' Link and am only taken back to the My APP section of the Application tab.
After step 4 I went to go about trying to find a direct link to how to get the process started and came up with the following:
Followed the the following instructions:
https://developer.paypal.com/webapps/developer/docs/classic/lifecycle/goingLive/
While I do now have API Signature Credentials including, API username, API password, and Signature, it still only shows that for "Accept credit cards directly" I am only "Enabled for test only"
I would greatly appreciate any advise or alternative solution to get this fixed.
Thanks!
Sev
If you have US Personal PayPal Account in Live , You will not be able to Direct Credit Card Payments in Live . This is currently a Limitation. You need to upgrade to Business Account with Mobile Payment Library or Website Payments PRO Account as mentioned below. There is no ALternative available at this time
https://developer.paypal.com/webapps/developer/docs/integration/direct/rest_api_payment_country_currency_support/
Direct Credit Card Payments
The PayPal REST API supports direct credit card payments, which are credit card payments without a separate web approval flow, in the following countries:
Canada*
United States
United Kingdom*
* Direct credit card payment outside the US requires a Website Payments Pro account (available in the UK and Canada):
Website Payments Pro (UK)
Website Payments Pro (Canada)
In supported countries, the PayPal REST API allows direct credit card payments that use the following currencies:
Currency Currency Code
United States dollar USD
Pound sterling GBP
Canadian dollar CAD
Euro EUR
Japanese yen JPY

How to get custom fields like Invoice number to show on Paypal receipts

We are using PayPal website payment pro and we can send money live and all is well.
Our issues are:
when we view the recent payment, it should say "payment from John Smith"...but ours just say "payment from". the name of the person does not show up. well our accounting section wants it back. :-) not sure why its not or which parameter of the DoDirectPayment request I need for this.
The user submission form has an invoice number field. I also need the invoice number to show on the details page of the PayPal payment receipt. I was able to get stuff like shipping address to show up by using its parameter, but no idea to have Invoice Number show up.
I know it can be done because the old website had these and they used website payments pro API to send payments. I just am not sure of how to do this. thee is no mention of this in the API references that I see, especially for DoDirectPayments method. Any help appreciated
Norman

PayPal Website payment pro not sending email to merchant when purchased using credit card

We have implemented PayPal Website Payments pro. Everything seems to work like a charm.
But, my merchant ain't receiving the emails from Paypal when the user purchases the item using their CreditCard. But, when purchased with their PayPal account, the emails are coming through fine.
Is this the normal behavior? Or, is there something that I need to fix in my settings ?
The seller account should get the normal email notification that they've received a PayPal payment, but no email would be sent to the buyer. This is intentional because buyers who specifically request CC instead of PayPal might be upset if they start getting PayPal notifications.
When using Payments Pro it's generally left up to you to create and send your own email receipts/notifications.
That said, you mentioned here that it's your merchant account that's not receiving anything, which would typically be referring to the seller account. If that's what's happening then I'd recommend calling PayPal support or submitting a ticket at www.paypal.com/mts and let them know what's going on.

Google checkout invoice through API

I am trying to find a way of sending email invoice via google checkout's API (and also in PayPal)
I can't find how. or at least how to generate a new order (money request)
thank you
From: http://code.google.com/apis/checkout/developer/Google_Checkout_Comparison_Part_I.html
Requesting Payment by Email Invoices
What is it? Email invoicing lets you sell without an online store. Buyers can place orders from you by phone, fax, email or other offline means; then you send email invoices from the Merchant Center to the buyers requesting payment. Email invoices contain a personalized message from you regarding the requested payment as well as a "Pay now through Google Checkout" link. When buyers click this link, they are brought to Google Checkout where they can complete the payment process.
Best for: Use this option if you don't have or need an online store.
Time required: There's no setup — just open a Google Checkout merchant account and you can immediately start sending invoices.
Technical skills required: None. Just Internet access.
Demo: Email Invoice and Wizard (requires sign-up)
Processing Orders: (Part II) Once orders start coming in, use the Merchant Center to charge orders and update order status.
Next Step: How to request payments by email invoices
From what I've seen, looks like they don't have a way to do this through an API. Hopefully someday they will, but for now I think I'll have to create my own email with a link to my own page that sends them to google checkout via a custom Buy It Now button.
It's too bad - it'd be so simple to just be able to call send_email(name, email, amount, message) and have it be the same as logging in & doing it through the Merchant Center.
I do understand the rationale a little - if you're capable of creating an automated invoicing system that can call a google API to send emails, then you should also be capable of creating a link, custom button, and letting the user checkout that way. I still want it though - I'm lazy.
Can you submit the form data in the way that the google checkout portal does? then it would authenticate and autofill the form?