I am enclosing a screenshot of an example Paypal button flow to this page ...
I was wondering if it is possible to modify "Price per item" to something that's more descriptive? For example, "Monthly School Fees", etc?
Thank you for your help!
Related
I am trying to figure out how I can embed Google Actions responses, such as the cards carousel, in a webhook response for DialogFlow.
According to the documentation, the structure looks as following:
"carouselSelect": {
"items": [
{
"optionInfo": {
"key": "MATH_AND_PRIME",
"synonyms": [
"math",
"math and prime",
"prime numbers",
"prime"
]
},
"title": "Math & prime numbers",
"description": "42 is an abundant number because the sum of its proper divisors 54 is greater...",
"image": {
"url": "http://example.com/math_and_prime.jpg",
"accessibilityText": "Math & prime numbers"
}
}
Is there a way to let the device simply follow a link when a certain card is clicked?
In the documentation, there is a paragraph Handling selected item, but this does not really answer my question. In my case, I am showing the cards from a DialogFlow conversation as explained in How can I integrate the Google Actions responses in a webhook response in Dialogflow?, so I am not following the Google Actions SDK flow as explained in these docs.
Also as a side note, if I am understanding this paragraph correctly, the backend service is called with a certain selected item. In my scenario, I don't need this information in the backend, I would rather want the device to just follow the URL.
In short - not directly, no. (Update: Yes. See below.)
You're mixing terminology, which may be causing some confusion. The Actions on Google defines a few different GUI components which have different capabilities:
Options to advance the conversation can be presented as List or Carousel items. Both of these allow an image and some text (think around a sentence or two). The selection option is sent back to your Action with the intention that the user will select one to continue the conversation. It is not meant to be the result of the conversation.
You can also show a single Card which also contains an image and some text. Unlike the Options, however, you can only display a single card, and it can contain a URL that links elsewhere. Cards are intended to be the result of a conversation.
There are also Suggestion Chips which are a word or two and are intended to supplement the above options to change the direction of the conversation.
Finally, there is a Link-out Chip which is a chip with a URL.
The best you can do at this point is to present the user with the options available and, once they reply, present a card with a link out directly on the card, or prompt them if this is what they wanted and offer a suggestion chip saying "no" that goes back into the conversation or a link out chip to the destination that the card represents.
Update: Google has just added the ability to create a Browsing Carousel, which allows you to create something that looks like a carousel, but only has links. The Browsing Carousel is defined differently (it is part of a RichResponse rather than a possible Intent), but the two look very similar.
How can I create a Customer Refund record from the Return Authorization form?
I'd like to intercept the action associated with the Refund button on the Return Authorization form, but I'm not sure how to do that.
Short of that I've tried adding a "Customer Refund" button onto the Return Authorization from using a Workflow. That doesn't seem to work, I can never get the button to show on the form. I've added a single "State 1" to the workflow with an Add Button with a label of "Customer Refund" that triggers on "Before Record Load". So far the button never shows up on the form.
Copied from original comment: I think that is controlled by the "Custom Form" selection. I believe by default, there are two standard forms for a Return Authorization: Standard Return Authorization - Cash and Standard Return Authorization - Credit. The form you select determines the workflow for refunding. Try switching the Custom Form to the Credit version
I'm using Paypal Payments Advanced with the hosted checkout page (iframe). This gives customers an option to click the "pay with paypal"(button) which is paypal's Express Checkout or pay using a credit card. Everything seems to be working great, except I am unsuccessful at making individual line items show when passing parameters using the NVP API. Instead I only see a total amount (See picture below).
And I also believe this means the line items are not being sent at all (even when I pay using a credit card) since I don't see any line items when I log into paypal to view the details of the transactions.
Here are the NVP parameters I'm currently using:
"PARTNER" => "PayPal",
"VENDOR" => "company_here",
"USER" => "user_here",
"PWD" => "password_here",
"TRXTYPE" => "S",
"AMT" => "2.16",
"ITEMAMT" => "2.00",
"TAXAMT" => "0.16",
"L_NAME0" => "Test Product 1",
"L_DESC0" => "Test Product Description",
"L_AMT0" => "1.00",
"L_TAXAMT0"=> "0.08",
"L_QTY0" => "1",
"L_NAME1" => "Test Product 2",
"L_DESC1" => "Test Product 2 description",
"L_AMT1" => "1.00",
"L_TAXAMT1"=> "0.08",
"L_QTY1" => "1",
"CUSTOM" => "Custom Text Here",
"INVNUM" => "Invoice12345",
"CURRENCY" => "USD",
"CREATESECURETOKEN" => "Y",
"SECURETOKENID" => "token_here",
Any ideas what I'm doing wrong?
According to this small section in the Express Checkout for Payflow Pro document (page 19):
To enable line-item support in reference transactions, which includes the parameters below,
you must contact Merchant Technical Support at http://www.paypal.com/mts:
L_NAMEn
L_DESCn
L_COSTn
L_TAXAMTn
L_QTYn
So I called PayPal tech support and they turned on line item support in my paypal manager account. However line-items still weren't being sent in the transaction. So I called them again, and they informed me that, for payflow, the line-items won't show in the express checkout and you can't view them in the transaction details in your paypal account either. They are pretty much ignored. They are actually used for certain processors, but since my processor is PayPal, they weren't being used for anything.
The idea is that (say you have a shopping cart) you show a breakdown of line-items at the payment screen, just before a user pays (perhaps same screen where you have the payments advanced iframe, a.k.a. hosted checkout page). Then if you ever want to look up what line items were purchased for a specific invoice, you need to make sure you saved this on your web server, not paypal. Then you can look up the invoice number on paypal and compare with the order details stored in your own database.
I stumbled across your post after running into a similar situation. I also use paypal advanced on two of my websites. One website has been processing orders through the iFrame and has successfully managed to achieve line item support while the other one was having difficulties. I got the same run around with paypal support about how line item for certain PP advanced transactions wasn't supported...But this is false. After talking with all different levels of merchant technical support, both sites now support line item details for all the transaction types available through PP advanced.
We use shiprush, so pulling orders directly from PP is much easier than trying to link shiprush and the shopping cart..
I am not a Crystal Reports person; the individual that does Crystal report writing for us is on a two-week vacation and the users need some urgent changes made.
I have managed to make the changes that I could but I am stuck.
The other change that I am not able to handle is to show as header title users's selection.
For instance, on our web app, we have a dropdownlistbox with 3 options, Education Task Force (ETF), Court Review Board(CRB) and Conflict Resolution Group (CRG).
If a user selects ETF from the dropdownlist, the Crystal Reports report header needs to read Education Task Force
If a user selects CRB, the report header should read Court Review Board and if the selection from the web app is CRG, the report should read Conflict Resolution Group
Is this possible?
Thanks a lot in advance for your assistance.
Create a formula and put it in the report header
select {?YourParameter}
case "ETF" : "Education Task Force"
case "CRB" : "Court Review Board"
case "CRG" : "Conflict Resolution Group"
default : "Unknown"
Is there a way of setting a one of delivery charge for multiple items using the paypal shopping cart. I have a website that sells postcards for the small local museum but I can only get the delivery charge added on for every different item, or not at all. Delivery is 65p, So if someone buys;
6 x "a" postcard
there is one delivery charge 65p.
The problem is that when someone orders;
1 x "a" postcard
1 x "b" postcard
1 x "c" postcard
1 x "d" postcard
1 x "e" postcard
1 x "f" postcard
The delivery charge is £3.90 which is way too much for 6 postcards.
Is there a way of setting the delivery charge to 65p for any number of variations?
Thanks anyone who can help.
Ok, Worked it out! I think I am just going to have to base the shipping on a total order value and not specify it at all in my coding... Heres what I did in case anyone else finds this with the same problem.
Login to Paypal account.
Click on the "Profile" tab near the top of the page and under "Selling Preferences" click on the "Shipping Calculations" link and follow the steps to set up for instance £0.01 - £9.99 delivery £1.15, £10.00-£14.99 delivery £1.95 etc etc etc.
Thanks for your help everyone!!
I think PayPal has a value called "shipping_1" and "shipping_2", depending on the platforn you just need to override these values, we used something like this for our PHP form
<input type="hidden" name="shipping_1" value="<?php echo $order->delivery - $order->discount_delivery ?>">
This link says you can do this by setting
Setting the Shipping Charge for the Entire Cart
Use the shipping variable without
additional shipping2 variables to
specify the shipping charge for the
entire transaction. The value of
shipping is used for the shipping
charges, regardless of the merchant’s
profile-based shipping rates and rate
basis.
Also see https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=brc/three_common_shipping_issues