How do I know which customer paid which bill?
As soon as the customer goes to the hosted page on cheddargetter, his profile has nothing to do with our (as a merchant) user database. So how do we know who have paid what? I guess there should be something like unique identifiers?
Discussions are closed to public comments.
If you need help with Cheddar please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Marc Guyer on 15 Dec, 2011 03:03 PM
Correct. This is what the customer code is for. Check out the docs for hosted pages here: http://support.cheddargetter.com/kb/hosted-payment-pages/hosted-pay...
2 Posted by Felix Ding on 16 Dec, 2011 02:43 AM
Thanks, I get it.
The following question is how to get the return from cheddar getter? I have set the "Transaction Post Hook" but in Paypal simulation cheddar getter didn't post back.
3 Posted by Felix Ding on 16 Dec, 2011 03:18 AM
One more question.
After reading the discussions here and there I found that I probably need to check the customer status after CG redirects the customer to my website. Is it correct?
The problem is the API ("https://yoursite.chargevault.com/status?key=a1b2c3d4e6&code=you...") always throws an error saying "400: Customer key is invalid", no matter what the Customer Code is.
Support Staff 4 Posted by Marc Guyer on 16 Dec, 2011 02:56 PM
The transaction hook only fires when there is a transaction. Is there a transaction in your workflow or is the first transaction on the subscription delayed?
Yes, that is recommended.
That URL is an example. Are you using your own url (https://catalogim.chargevault.com/status?key=[GENERATED_KEY]&co...). Also, are you creating the key properly? Here's some documentation on that: http://support.cheddargetter.com/kb/hosted-payment-pages/hosted-pay.... That's the customer "update" section but generation of the key is the same for status lookup.
5 Posted by Felix Ding on 16 Dec, 2011 04:38 PM
I should make it clear that I am using a developer plan, can this be the reason that neither post hook nor status check works? Since the transaction is fake.
Support Staff 6 Posted by Marc Guyer on 16 Dec, 2011 09:37 PM
When looking at your account, I see two customers. Neither of them have transactions. Their initial bills are set to execute in one month. This is because the pricing plans are set to delay the first bill. You can make advanced changes to your plans here: https://cheddargetter.com/admin/plans if you wish to change your plans to bill on signup (or otherwise make changes).
There are convenience links to hosted pages for each customer on the customer detail page in the gui. Here's an example of one of your customer's detail pages: https://cheddargetter.com/admin/customers/get/id/38cf8a9c-278f-11e1.... The two convenience links are for "update" and "cancel". You can switch the word update or cancel to "status" and it becomes a status URL. That should help you verify whether your not you're are generating the key correctly.
7 Posted by Felix Ding on 17 Dec, 2011 02:08 AM
Ah! I see. So the problem is we have different understandings about what a "transaction" is!
Thank you and have a happy weekend!
Marc Guyer closed this discussion on 18 Dec, 2011 03:23 PM.
Felix Ding re-opened this discussion on 19 Dec, 2011 02:46 AM
8 Posted by Felix Ding on 19 Dec, 2011 02:46 AM
Well, your documentation is definitely MISLEADING!
http://support.cheddargetter.com/kb/hosted-payment-pages/hosted-pay...
In the Ruby example you use "product_code", which should be "Product Secret Key". It costed me hours to figure it out.
Support Staff 9 Posted by Marc Guyer on 19 Dec, 2011 02:27 PM
Hi Felix -- Thanks for the suggestion! We've updated that variable name to be more descriptive.
Marc Guyer closed this discussion on 19 Dec, 2011 02:27 PM.