Bill Payment Check - Object specified in the request cannot be found - quickbooks

I'm using C# and QBFC13 to connect to the desktop edition of QB Enterprise 13. I'm creating Bills and then creating a Bill Payment Check to pay those bills. I keep getting the error "Object 48E-1425590500 specified in the request cannot be found." That number is the TxnID of the bill the check is paying. I'm 100% sure I'm using the correct TxnID because I got it directly from the Bill. The relevant code is below. Any assistance would be greatly appreciated.
billPaymentCheck.PayeeEntityRef.FullName.SetValue(payee);
billPaymentCheck.BankAccountRef.FullName.SetValue(reader["BankAccount"].ToString());
billPaymentCheck.APAccountRef.FullName.SetValue(reader["APAccount"].ToString());
billPaymentCheck.Memo.SetValue(reader["Memo"].ToString());
billPaymentCheck.ORCheckPrint.IsToBePrinted.SetValue(false);
IAppliedToTxnAdd txn = billPaymentCheck.AppliedToTxnAddList.Append();
txn.TxnID.SetValue(bill.TxnID.GetValue());
txn.PaymentAmount.SetValue((double)reader["Amount"]);

First check to see if the Accounts Payable account for the Bill is the same as the Bill Payment. You can change your code to use the Bill's AP Account instead of from your reader and see if that works.
billPaymentCheck.APAccountRef.FullName.SetValue(bill.APAccountRef.FullName.GetValue());
Another thing to check is that the Payee is the exact same for the Bill and Bill Payment.
billPaymentCheck.PayeeEntityRef.FullName.SetValue(bill.VendorRef.FullName.GetValue());

Related

No such customer error in stripe

I am using stripe component in my application,when I tested with sk_test_1XXXXXX all payments were success,now I changed that key to another sk_test_2XXX,when iam trying to pay through this,getting an error "No such custome -cus_xxxxxxxxxxx".How to resolve this.
You created that customer with your 1st test key. These customers will be invisible (as well as any cards, subscriptions, etc) to your second test key.
Once you changed / moved key you'll need to recreate these test customers, they are not shared between test keys and accounts.
Your customer does not exist. Try login into the stripe dashboard and seeing if that customer exists.

Payment verification with the iOS Paypal SDK - Clarification needed please

I have a specific question about the verification side of Paypal (using the latest iOS PayPal SDK)
From this document: https://github.com/paypal/PayPal-iOS-SDK/blob/master/docs/single_payment.md
This is mentioned:
Send the payment response to your servers for verification, as well as any other processing required for your business, such as fulfillment. Tip: At this point, the payment has been completed, and the user has been charged. If you can't reach your server, it is important that you save the proof of payment and try again later.
And from there is a link to the verify-mobile payments documentation, in which various things are mentioned, i'm assuming this part applies to the iOS SDK (latest)
Looking up a payment using the REST API
You can payment id value in a response to look up a payment by calling the REST API. The following example retrieves a payment in the sandbox:
curl
https://api.sandbox.paypal.com/v1/payments/payment/PAY-5YK922393D847794YKER7MUI
\ -H "Content-Type: application/json" \ -H "Authorization: Bearer
{accessToken}" You should verify that the Payment:
Is approved ("state": "approved"). Contains a Transaction with: An
Amount with total and currency that match your expectation. A Sale
that is completed (in related_resources, with "state": "completed").
The live endpoint is
https://api.paypal.com/v1/payments/payment/{payment_id}.
https://developer.paypal.com/webapps/developer/docs/integration/mobile/verify-mobile-payment/
Got it. So given the above assumptions (which I hope are correct!) what should one do with the details returned from the server? Save them to a database?
The docs seem to be a little vague in terms of this particular subject. This is my understanding of the flow:
1) Make payment.
2) Send payment details to server.
3) Get back payment state from server.
4) Check that it's approved and the other details match up (amount, currency etc)
5) Upon making another payment, check to see if the payment id has already been used? This is another part of my confusion.
Thank you in advance for any assistance. Just would like some clarification in layman's terms to see if I understand the flow correctly.
from the sdk you will get a response which will have a state and id. the id you should save to database for your purposes, because you can always call /payments/id https://developer.paypal.com/webapps/developer/docs/api/#look-up-a-payment-resource and see the details of it. Every id is unique. state will have more information if the payment has been successful or not. Please check documentation. Hope it helps.

Paymill pre-create card payment

Is there a way to pre-create a card payment for Paymill? When creating a Paymill Payment object we need a token, this token is got by provide card info and amount/currency. With the first transaction of this payment object, Paymill require the same ammount/currency as the value we use to get the token. So the user can't create a payment for future transaction because they don't know how much they pay for the first transaction?
Thanks
you could do it in the following way. Create a token with an amount/currency for example 100 Euro (but not smaller than 1 Euro!). Afterwards make directly with this token a preauth transaction. You get an paymentobjectid as response and the creditcard is checked if it is valid and has at this time the wanted amount (limit is not exceeded). This preauth is valid for 7 days and afterwards it is deleted automatically or your make a reversal of the preauth. With the paymentobjectid you can than make another recurring payment with a different amount.
Best,
Christian

Confirming Test Credit Card Transactions via Merchant Servicess

We are submitting test cc credit card transaction to the test QBMS gatewey and would like to verify they are being submitted correctly. We are getting what looks like the correct response valid response to the submittal but nothing is showing up in the merchant service center for the past month. Is this correct, i.e., the test service center is hit or miss or is it failing somewhere else? Even items we submit through the test page do not show up in the service center. Thanks.
If you are using the TEST tool here, it is posting the transaction under a test account not your account, so you see the successful response, but you would only see the transaction if you logged in under the test account, which is not possible as its simply for testing.
http://docs.developer.intuit.com/0085_QuickBooks_Windows_SDK/030_qbms/0030_Get_Set_Up/5._Try_a_Test_Transaction
thanks
Jarred

PayPal Sandbox - CreateBillingAgreement call returns Internal Error (10001)

I'd appreciate any help with this, I've run around in circles trying all sorts of combinations with the PayPal Api - but I'm hitting a brick wall on this one.
I'm looking to call the CreateBillingAgreement method but each time I do it fails and reports a 10001 'internal error' from paypal in the response.
I have a valid token and I'm using version 84.0. I've successfully called SetupExpressCheckout and DoExpressCheckout, both of which succeed and the payment goes through. I'm setting up a future payment / pre-authorisation on the SetupExpressCheckout and the user agrees to that no problems.
​Do I need to change settings on the merchant in the sandbox? Am I calling things in the wrong order maybe? (SetExpress, GetExpress, DoExpress, CreateBilling)?
​I'm looking to use this billing agreement to allow a reference transaction in the future. I'm having a test account 'pay' using paypal and not forwarding any credit card details, the payment is for a digital service with no delivery (no shipping is set, no addresses or delivery costs are involved). The overall goal is to provide a one-click re-order button, whereby no details need to be entered by the customer.
I'm using the C# api in asp.net 4, or more specifically I've created Service References from the paypal sandbox wsdl and I'm using those in asp.net.
​Any and all help is appreciated - thanks.
​Russell.
You don't need to call CreateBillingAgreement if you're specifying billingtype MerchantInitiatedBilling in your SetExpressCheckout and DoExpressCheckoutPayment API call. CreateBillingAgreement is only necessary if you don't want to call DoExpressCheckoutPayment.
If MerchantInitiatedBilling is set, DoExpressCheckoutPayment will already return a billing agreement ID, which you can use in DoReferenceTransaction.
I don't have access to an example at hand, but will update this post as soon as I've found one for you.

Resources